Re: [AD] Disable screensaver |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-10-31, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> 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?
I don't think so.
Peter