[SDL] Full screen mode disabling screensaver?

Tim Schürmann tischuer at web.de
Wed Mar 14 15:34:11 PDT 2007


Hi!

"Ryan C. Gordon" schrieb:

> > (Maybe I should add a simple screensaver to Tux Paint itself after
> > an extended amount of inactivity...?)
>
> 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 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.

What about a "SDL_AllowScreensaver(bool allowit)" ?

Bye,

Tim



More information about the SDL mailing list