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:
- al_set_new_window_position / al_get_window_position mismatch
- Quick Question about MSAA
- Drawing Issue
- al_draw_scaled_bitmpa not working if called more than 1 time
- Inconstistent joystick event delay
- SIGSEGV when attaching shaders
- Game starts minimised and hard to get on screen.
- Allegro 5.1.9 (GIT) -- al_set_new_window_position
- Extreme slow down on Windows
- correct debugging with wrong result - basic display tutorial
Other recent discussions:
- characters missing after al_resize_display()
- Restarting display to change multisampling has effect on vsync
- Antialiasing in allegro
- Resize window
- Installing Allegro 5 with Code::Blocks and MinGW problems
- [Allegro 5.1] Possible bug on al_set_new_window_position
- [5.0.3] OpenGL and ALLEGRO_FULLSCREEN_WINDOW
- [al5] Setting the minimum and maximum window size?
- Allegro 5.0.1 released!