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..bcfd9639f4d 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