https://bugs.winehq.org/show_bug.cgi?id=47968
--- Comment #31 from msuhoruki@gmail.com --- It seems the problem is related to xinerama and xrandr's priorities. dlls/winex11.drv/xrandr.c selects 200 for itself. dlls/winex11.drv/xinerama.c alternates on a condition between 1000 and 100. In my case xinerama selects 100 because because its desktop_mode??? variable is false: handler.priority = desktop_mode ? 1000 : 100;
If I invert that condition (and get 1000) then wine works for me. Is the desktop_mode detected incorrectly?