al_get_window_position(3) al_get_window_position(3)

al_get_window_position - Allegro 5 API

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

Gets the position of a non-fullscreen display.

al_set_window_position(3), al_get_window_borders(3)

Allegro reference manual