al_set_new_window_position

void al_set_new_window_position(int x, int y)
Introduced in 5.0.0

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

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

See also: al_get_new_window_position

Examples: ex_windows


Most helpful discussions:

Other recent discussions: