[SDL] SDL tampers with display power settings on the sly
Solra Bizna
sbizna at tejat.net
Tue Feb 26 20:45:17 PST 2008
On Tue, Feb 26, 2008 at 2:43 AM, Erik <esigra at gmail.com> wrote:
> Solra Bizna skrev:
> > If you really want to fix this problem on Linux, beg the Xorg
> > developers for some sort of "temporarily disable screensaver while
> > this client is running" command.
> Like I just wrote in another reply, that feature would be of very
> limited usefulness (movie players who simply start, play and terminate).
I didn't mean for that to be applied like a band-aid to SDL's current
behavior. The application would say "The user is watching me. Disable
the screensaver, but if I terminate without re-enabling it please
clean up after me." at a time when it is actually appropriate. Then,
if the application is killed or lazy, the screensaver is re-enabled
automatically. There would naturally be an "I'm paused. Re-enable the
screensaver." command too, which the application would also send at,
again, an appropriate time.
The server would then handle details of whether a screensaver was
actually enabled, double-calls, etc.
This is how it's done on OSX, if I remember correctly.
-:sigma.SB
More information about the SDL
mailing list