al_inhibit_screensaver(3)
π al_inhibit_screensaver(3) π
okay so this page is from the Library Functions Manual, and itβs the Allegro 5 API entry for al_inhibit_screensaver. bestie, itβs short, itβs useful, and itβs lowkey doing exactly what it says on the tin π
β¨ NAME β¨
al_inhibit_screensaver β Allegro 5 API π«Ά
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
bool al_inhibit_screensaver(bool inhibit)
π DESCRIPTION π
okay so hereβs the tea β: this function lets you stop the system screensaver from starting up if true is passed. if false is passed, it resets the system back to the default state β specifically, the state at program start. no cap, thatβs the reset behavior.
it returns true if the state was set successfully, otherwise false. and thatβs literally it, bestie β tiny function, big βleave my screen aloneβ energy π₯
mwah π this has been the Allegro reference manual for al_inhibit_screensaver(3) β and since the page didnβt give us a version/date line, weβre not inventing one, periodt π
β¨
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms