https://bugs.winehq.org/show_bug.cgi?id=56149
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #16 from Gabriel Ivăncescu gabrielopcode@gmail.com --- It basically sets _NET_WM_STATE_FULLSCREEN (which is what causes it to display fullscreen / possibly no decorations and on top of taskbar) after it sets the position of the window. The position is what causes it to set the hints (the previous commit, 75a774f90a86d1e39b2ea4fd5716ec74ac5aae64), and the hints have to be set correctly before _NET_WM_STATE_FULLSCREEN.
This kind of sequence isn't exclusive to virtual desktops. For normal fullscreen windows, update_net_wm_states is what sets it to _NET_WM_STATE_FULLSCREEN, and it's called after setting the hints in sync_window_position. (note that for VDs, it returns immediately, so it doesn't)
I have no idea why it fails for you. I can't reproduce it. But I reopened, I'll try fiddle a bit.