al_set_new_window_position(3alleg5)
π NAME π
okay so bestie, this page is al_set_new_window_position(3alleg5) from the Allegro 5 API β¨ and it's literally the manual for al_set_new_window_position β Allegro 5 API. that's the whole name section, periodt π
πΈ SYNOPSIS πΈ
like, here's the vibe:
#include <allegro5/allegro.h>
void al_set_new_window_position(int x, int y)
π¦ DESCRIPTION π¦
okay so what it does: it sets where the top left pixel of the client area of newly created windows (non-fullscreen) will be on screen β for displays created by the calling thread. that's the main character behavior β¨
ngl, negative values are allowed on some multihead systems. lowkey useful.
and to reset to the default behaviour, pass (INT_MAX, INT_MAX). that's it, that's the reset button π«Ά
π SEE ALSO π
al_get_new_window_position(3alleg5)β go read that one next bestie π
source/version: Allegro reference manual Β· page: al_set_new_window_position(3alleg5) Β· date: not listed in this footer, sorry bestie π mwah π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms