Zhiyi Zhang (@zhiyi) commented about dlls/winex11.drv/window.c:
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))
Note that this `if` checks for invalid conditions. You should remove the `!` before `(NtUserGetWindowLongW( data->hwnd, GWL_STYLE ) & WS_MINIMIZE)` and remove the extra parentheses as well.