This prevents a "Failed to get xinerama fullscreen monitor indices." error when minimizing a fullscreen window.
-- v3: winex11: Properly handle minimized windows in update_net_wm_fullscreen_monitors().
From: Aida Jonikienė aidas957@gmail.com
This prevents a "Failed to get xinerama fullscreen monitor indices." error when minimizing a fullscreen window. --- dlls/winex11.drv/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index f9ef26b22d2..5400c5bc768 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1029,7 +1029,8 @@ static void update_net_wm_fullscreen_monitors( struct x11drv_win_data *data ) long monitors[4]; XEvent xev;
- if (!(data->net_wm_state & (1 << NET_WM_STATE_FULLSCREEN)) || is_virtual_desktop()) + if (!(data->net_wm_state & (1 << NET_WM_STATE_FULLSCREEN)) || is_virtual_desktop() + || NtUserGetWindowLongW( data->hwnd, GWL_STYLE ) & WS_MINIMIZE) return;
/* If the current display device handler cannot detect dynamic device changes, do not use
On Wed Oct 16 09:27:00 2024 +0000, Aida Jonikienė wrote:
changed this line in [version 3 of the diff](/wine/wine/-/merge_requests/6648/diffs?diff_id=138382&start_sha=57ca1f615f7e4b87945898da7c0b5f5d6844a832#05752921556c31c592c0243a9ac965ee9808be87_1033_1033)
Done
This merge request was approved by Zhiyi Zhang.