CShadowRun
2009-Nov-11 02:16 UTC
[Wine] Unable to focus wine virtual desktop when game is running.
Ok, this is a weird one. When i have a game running (Counter Strike: Source, Team Fortress 2, Zero Gear). Once the window looses focus, i cannot get the focus to go back, not by clicking on it, alt+tabbing, or even running wmctrl -a wine. Nothing makes it focus. Even while the window is not focused, i can interact with the window using my mouse, i can then close the game, and i am able to re-gain the focus. So it seems like whenever an OpenGL application is running in the virtual desktop, i can no longer focus the window. I have already tried creating a fresh wineprefix, and using metacity (complete reboot to ensure that switching wm's didn't cause the problem). Any ideas? :(
vitamin
2009-Nov-11 03:54 UTC
[Wine] Re: Unable to focus wine virtual desktop when game is running.
CShadowRun wrote:> Ok, this is a weird one. When i have a game running (Counter Strike: Source, Team Fortress 2, Zero Gear). Once the window looses focus, i cannot get the focus to go back, not by clicking on it, alt+tabbing, or even running wmctrl -a wine.It's a known issue. You can work around it by setting [HKCU\software\Wine\X11 Driver] UseTakeFocus="yes" If that registry doesn't exist, create it.