Comment 48 for bug 32457

Revision history for this message
Chris Cowan (macil) wrote : Re: gnome-screensaver activates while playing SDL games with compiz enabled

I've noticed a similar problem lately (it's not a new problem, just quantified it now) with other games (besides UT2k4 as I mentioned). UT2k4 never likes to let go of the mouse, but several other games I've played (Quake 3, zdoom; both open source) will release the mouse on certain events it doesn't need it, like when the game's console is open. With these games, instead of the keys not responding temporarily and the mouse getting screwed up by gnome-screensaver after some time (like UT2k4), the mouse simply detaches from the game (Zdoom even detects this and pauses the game for you, presumably because it notices it has lost focus). Click on the game window does not fix it and reattach mouse control. I have to click a different window (or my desktop background; If I'm in fullscreen, I'm out of luck, and I have to ctrl-alt-f1, log in, and kill the game). And selecting a different window doesn't even work the first time, I have to click several times before it does, then I can click back to the game to make it active again.

Bugs like this (and the lack of a fix) make me feel like the only gamer who has touched Ubuntu with anything shorter than a 10 ft pole sometimes. This bug and the inability to use volume controls while a game has mouse control are literally the only two major problems I have with Ubuntu.