We monitor the toplevel window state to detect when the window is minimized to set the web pages as not visible and pause the rendering. In GTK3 we already get a change mask, so we do nothing if iconized state hasn't changed. In GTK4 we get the new state, but we don't know what changed, so we are actually changing the visibility of pages for any state change. We need to handle the changed mask manually.
Pull request: https://github.com/WebKit/WebKit/pull/16792
Committed 267032@main (989de9dbc7ac): <https://commits.webkit.org/267032@main> Reviewed commits have been landed. Closing PR #16792 and removing active labels.