al_inhibit_screensaver
bool al_inhibit_screensaver(bool inhibit)
Introduced in 5.0.0
This function allows the user to stop the system screensaver from starting up if true is passed, or resets the system back to the default state (the state at program start) if false is passed. It returns true if the state was set successfully, otherwise false.
Examples: ex_disable_screensaver
Most helpful discussions: