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

Erik esigra at gmail.com
Tue Feb 26 07:59:29 PST 2008


Sam Lantinga skrev:
> SDL doesn't restore the power settings when it quits, did you find out why this is?
No, but I found out that DPMSEnable gets called (added debug output 
before and after). I also made sure that its argument is the same as in 
the call to DPMSDisable (although I did not check the target of that 
pointer). So it seems like DPMSEnable does not do what SDL expects it to 
do on my system. Maybe a bug in my video driver?

I attach a patch for SDL-1.2.13 that makes the screensaver disabling 
configurable.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: confopt-disable-screensaver.patch
Url: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080226/63eb4695/attachment-0001.pot 


More information about the SDL mailing list