[SDL] Full screen mode disabling screensaver?
Ryan C. Gordon
icculus at icculus.org
Fri Apr 6 11:52:11 PDT 2007
> I don't mean to hijack the thread, but what about the opposite case:
> when playing a joystick game in a window, the screensaver still comes
> on, and mouse wiggling or modifier key pressing must still be employed.
>
> Being a developer I commonly run games windowed because development
> versions may crash, and crashing in fullscreen mode with the mouse
> grabbed is never fun...
I think that's what we're talking about, actually...without this patch,
the Mac OS X and X11 video targets will forcibly disable the
screensaver, windowed or not.
In most cases, that's desirable behaviour for a game, even in a window,
but for something like TuxPaint that's actually more of an application
than a game, it's not.
Also, I haven't touched the Windows code yet (and would appreciate a
patch from someone else so I don't have to. :) ).
In the meantime, I'm committing the existing patch. Bill, grab the
latest branches/SDL-1.2 from Subversion and let me know if it works for you.
--ryan.
More information about the SDL
mailing list