https://bugs.winehq.org/show_bug.cgi?id=56149
--- Comment #19 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Created attachment 75859 --> https://bugs.winehq.org/attachment.cgi?id=75859 Here's a "proper" patch.
I doubt the previous one would be accepted since it's hackish (even if WMs have bugs as we can see), so here's a try for a "proper" one. This basically makes virtual desktops less special and moves it to use the NET_WM_STATE callsite for normal fullscreen windows.
Does it work for you? Fingers crossed.
Rémi, do you think something like this patch would be acceptable? I realize the whole NtUserGetPrimaryMonitorRect thing is wrong and only works for one monitor, but that was already the case before, and I don't want to change it during code freeze since it won't fix a regression.