https://bugs.winehq.org/show_bug.cgi?id=49800
Bug ID: 49800 Summary: World of Warcraft appears on the wrong monitor when running full screen Product: Wine Version: 5.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: brgerst@gmail.com Distribution: ---
Prior to 5.16, World of Warcraft appeared full screen on the primary (right) monitor of a dual monitor setup. On 5.16, it appears on the left monitor and can't be moved back to the right unless set to windowed mode. Reverting commit c5ec1585f6e5211a2b63e3435748210552250534 ("winex11.drv: Always update _NET_WM_STATE in update_net_wm_states().") fixes the problem. The desktop environment is MATE on Fedora 32.
Trace output without the patch reverted: 0024:trace:x11drv:update_net_wm_states setting wm state 0 for window 0x1006a/4000005 to 1 prev 1 0024:trace:x11drv:update_net_wm_states setting wm state 1 for window 0x1006a/4000005 to 0 prev 0 0024:trace:x11drv:update_net_wm_states setting wm state 2 for window 0x1006a/4000005 to 0 prev 0 0024:trace:x11drv:update_net_wm_states setting wm state 3 for window 0x1006a/4000005 to 0 prev 0 0024:trace:x11drv:update_net_wm_states setting wm state 4 for window 0x1006a/4000005 to 0 prev 0