Re: [Tuxnes-devel] Screen Saver Patch & DGA Question
Brought to you by:
tmmm
From: Jason D. S. <js...@de...> - 2001-08-31 19:04:29
|
Stea Greene wrote: > > First I must say thanks to all for such a great app! The only > real problem I encountered with it is that since it does not disable the > screen saver, and since XFree86 does not see input from my gamepad as > activity, the screensaver would come on as I was playing games, which > was very detrimental to my continued survival in said games. > Attached is a patch (most of the code simply ripped from xawtv), > based on the current CVS tuxnes code, that fixes this by disabling the > active screen saver, and DPMS screen blanking if present, and then > re-enables (only if it was enabled initially) them on exit. I tried to > keep things to the same coding style as the rest of the code. I have > only tested this on my Linux machine, but it should work on any X system > - DPMS should be automatically detected by the configure script if > present. I often leave tuxnes running for a long time (during which time the screensaver *should* come on). A patch like this should instead "re-awaken" the screen saver/screen blinking on each joystick input (presumably keyboard inputs already do this). Then we would have the proper behavior. However, I don't know if this is possible... jason short |