Re: [Tuxnes-devel] Screen Saver Patch & DGA Question
Brought to you by:
tmmm
From: Stea G. <st...@cs...> - 2001-08-31 23:59:31
|
On Fri, Aug 31, 2001 at 03:04:10PM -0400, Jason Dorje Short wrote: > I often leave tuxnes running for a long time (during which time the > screensaver *should* come on). > True. > 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... > I agree, but AFAIK there is not standard way of doing this short of faking key strokes, which is not a good thing to do for this purpose. Also, it is my understanding that the input itself is completely disconnected from the output renderer (true?), which would make it difficult (and ugly) to do this kind of thing. The other method I thought of was adding a bit in the flags for this, and having the renderer name change - eg: x11 for the normal one, x11-ss for the x11 renderer disabling the Screen Saver, etc.... But this is a pain, and is too much complexity for such a minor detail. Another possibility is I could disable the screen saver only when the tuxnes window has the focus. Not sure how complicated that would be - it may be quite easy. Honestly, now that I have the DGA (which stops the screen saver) output working through ggi, I could care less about this. This patch could still be useful to those who don't have DGA though. BTW- I am now on this mailing list, so there is no need to separately include me in any replies that are going to the whole list. --Steaphan Greene |