[SDL] SDL tampers with display power settings on the sly

Erik esigra at gmail.com
Wed Feb 27 01:08:02 PST 2008

Erik skrev:
> Sam Lantinga skrev:
>> If you write a quick test program that uses DPMSDisable() and 
>> DPMSEnable(), does it work?
> DPMSDisable works. DPMSEnable is not working in xorg (as Alan Swanson 
> pointed out,
> http://bugs.freedesktop.org/show_bug.cgi?id=13962).
I just had a look at kcontrol to see why it works when applying the 
settings there. It calls DPMSSetTimeouts immediately after DPMSEnable:

>> Does XResetScreenSaver() also postpone DPMS power save mode in 
>> addition to the screen saver?
> It postpones DPMS, which is the only kind of scrensaver I have 
> installed and tested with.

More information about the SDL mailing list