[SDL] Full screen mode disabling screensaver?
Bill Kendrick
nbs at sonic.net
Wed Mar 14 19:09:48 PDT 2007
On Wed, Mar 14, 2007 at 01:14:53PM -0400, Ryan C. Gordon wrote:
<snip>
> TuxPaint is fairly unique among SDL apps in that you could have someone
> walk away and not quit...it's more a regular application and less a game.
<snip>
> We could probably add an environment variable to SDL for this, but it
> might be cleaner to either just ship a hacked SDL that returns
> immediately from X11_DisableScreenSaver() or build it into TuxPaint itself.
I believe the machine in question was an Ubuntu box, so it'd be using
the version of libSDL that ships with that distro -- not anything I packaged
along with Tux Paint.
<snip>
> I could see a value in having the environment variable, since other apps
> could use this, too, but on the other hand...another environment
> variable?! :)
>
> Let me know what you think is best.
So, yeah... an env. var. would be spiffy. Thanks! :)
--
-bill!
bill at newbreedsoftware.com
http://www.newbreedsoftware.com/
More information about the SDL
mailing list