al_set_new_window_position(3)

al_set_new_window_position3

Allegro 5 api

Usage

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

Overview

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. Negative values are allowed on some multihead systems.

To reset to the default behaviour, pass (INT_MAX, INT_MAX).

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.