DOKK / manpages / debian 11 / allegro5-doc / al_get_new_window_position.3alleg5.en
al_get_new_window_position(3alleg5) al_get_new_window_position(3alleg5)

al_get_new_window_position - Allegro 5 API

#include <allegro5/allegro.h>
void al_get_new_window_position(int *x, int *y)
    

Get the position where new non-fullscreen displays created by the calling thread will be placed.

al_set_new_window_position(3alleg5)

Allegro reference manual