[Bug 9320] No applications inside virtual desktop get properly focused and activated

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 8 17:12:38 CST 2009


--- Comment #13 from Vitaliy Margolen <vitaliy at kievinfo.com>  2009-11-08 17:12:38 ---
Need to be careful here what we enable/implement.

Lots of windows games will suspend when they loose focus. And many Wine users
indicated they don't want that to happen when using virtual desktop. This is
requirement #1:
1. Foreground/active/focused application (should always be the same in win32
world) should not loose focus when virtual desktop looses focus to another app.

The opposite is also true:
2. When virtual desktop regains focus from another X-application it should not
take focus away from currently focused application inside virtual desktop.

To avoid some complications from the above two requirements (making an
application loose focus inside VD while explorer still focused). Consumption of
X-events sent to explorer:
3. It should be possible to switch focus between different windows running
inside same virtual desktop. This also includes virtual desktop (explorer)
itself. This can be done by clicking anywhere inside the window, including
non-client area. And/or using a hot key (useful for fullscreen apps).

The #3 is the really tricky one. Implementing this in full won't be easy nor
necessary for most users. Basic focus change on click/hot key and focusing
first window should be enough.

With the above requirements Wine should really differentiate X-focus and it's
internal focus in case of using virtual desktop of course. Take focus should
still be used (idea of mouse-over to focus is really alien to Windows and it's

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list