Skip to content

winex11.drv: Reconfigure window even if the new rectangle equals to the old one.

Zhiyi Zhang requested to merge zhiyi/wine:window-set-config-fix into master

CW* masks in window_set_config() are from comparing against the old rect from data->pending_state.rect, not the actual X11 window rectangle. So it's still possible that after removing __NET_WM_STATE_FULLSCREEN, WM moves the window behind Wine's back. Then window_set_config() calculates CW* masks and calls XReconfigureWMWindow(), assuming the old rect is still the actual X11 window rect. As the result, some rectangle updates might be missed.

Merge request reports

Loading