https://bugs.winehq.org/show_bug.cgi?id=31905
Gil Kloepfer wine1024h@kloepfer.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine1024h@kloepfer.org
--- Comment #3 from Gil Kloepfer wine1024h@kloepfer.org --- I believe I am experiencing the same problem that Anton is describing.
What is happening is that if a Wine instance is setup for a virtual desktop on newer versions of Wine, there is code now that tells the X window manager that the window is a "full screen" application.
This is not always the case. In my case, I am running a financial application in a Wine virtual desktop to keep all the Wine windows together and managed in one place, but the virtual desktop only takes a portion of my entire screen.
I did trace this down within the Wine source at one point, but I would need to do so again to indicate exactly where this takes place (I did not note where it happened at the time).
The reason why focus and window raise/lower gets confusing in this instance is because the X Window Manager (in my case, fluxbox) takes the window hint from the Wine virtual desktop, and treats the Wine virtual desktop as a full-screen window (when it isn't). Fluxbox assumes that a full screen window will always obscure ALL non full-screen windows on the same display, and so raising any window that is not a Wine virtual desktop window will always cause the virtual desktop to be pushed to the back (and vice versa - if the virtual desktop is brought to the front, it pushes windows in a similar but usually less obtrusive way).
There probably needs to be another checkbox in winecfg/Graphics to indicate full-screen status as well as emulating a virtual desktop. Emulating a virtual desktop does not always imply full-screen as far as X is concerned.