Re: [AD] Disable screensaver

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


On Fri, October 31, 2008 3:38 pm, Peter Wang said:
> What about: bool al_inhibit_screensaver(bool inhibit);
>
> Pass true to prevent the screensaver from kicking in while the
> program
> is running (not to change the system setting).
>
> Pass false to restore default behaviour.
>
> Peter

Ok, sounds good. Do we still need the function to query the state?

Trent :{)>




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