[AD] Disable screensaver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Since most fullscreen games these days disable the screensaver, and
I need to do so for my game since joystick input does not keep the
screensaver from being activated, I thought it would be a good
addition to A5 to have a cross platform way to do it.

void al_set_screensaver(bool active);
bool al_get_screensaver(void);

Something like that maybe? Suggestions, comments? Should
"al_get_screensaver" query the system or only return what has been
specified by the "al_set_screensaver" function, defaulting to
active?

Trent :{)>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/