http://bugs.winehq.org/show_bug.cgi?id=19822
--- Comment #12 from Paul Chitescu paulc@voip.null.ro 2009-08-30 08:53:24 --- Proposed new behavior:
- Leave untouched the focus of windows in a virtual desktop even if the desktop itself loses focus. - When a virtual desktop is minimized if a window in it has focus make it lose it. Fullscreen applications will probably minimize, resize the desktop to the startup size and release much of the resources used (WoW stops rendering which is great). - When a virtual desktop is restored if it contains a single minimized visible window post it a WM_SYSCOMMAND SC_RESTORE so from an user perspective everything will be fine.
I'm not sure if or how hackish these can be implemented but it will surely save a lot of trouble.