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(3alleg5)