14 Oct
2024
14 Oct
'24
9:33 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/winex11.drv/xinerama.c:
INT i;
pthread_mutex_lock( &xinerama_mutex ); - if (nb_monitors == 1) + if (nb_monitors == 1 || rect->top == -32000)
Does adding a `!(NtUserGetWindowLongW( hwnd, GWL_STYLE ) & WS_MINIMIZE)` check at the start of update_net_wm_fullscreen_monitors() work? If so, I prefer that over checking rect->top against -32000. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6648#note_84902