The state change might have applied the new config already, or might
have triggered some new requests which would override the new config.
It's also necessary to call again to compute the visible rect from the
window rect after taking the new state into account. Minimized windows
have a different window / visible rect offset than normal windows for
instance.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57577
--
v2: win32u: Check window state updates again after applying new state.
winex11: Improve GetWindowStateUpdates traces.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7072
The state change might have applied the new config already, or might
have triggered some new requests which would override the new config.
It's also necessary to call again to compute the visible rect from the
window rect after taking the new state into account. Minimized windows
have a different window / visible rect offset than normal windows for
instance.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57577
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7072