al_inhibit_screensaver(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸŽ€ 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