Since commit bd99c16, creating a display with ALLEGRO_FULLSCREEN_WINDOW flag ends up with wrong behavior on X11. Tested with KWin, Mutter and i3.
Instead of making the window span the entire size of the screen, it keeps the size passed to al_create_display and puts it into bottom left corner of the window. al_get_display_width/height functions return the passed dimensions instead of the actual size of the window. This only happens on window creation - toggling fullscreen back and forth makes it work fine.
Here's an example of a FULLSCREEN_WINDOW window created with al_create_display(1280, 720); on a 4K screen.
Allegro 5.2.7:

Allegro 5.2.8:

Since commit bd99c16, creating a display with
ALLEGRO_FULLSCREEN_WINDOWflag ends up with wrong behavior on X11. Tested with KWin, Mutter and i3.Instead of making the window span the entire size of the screen, it keeps the size passed to
al_create_displayand puts it into bottom left corner of the window.al_get_display_width/heightfunctions return the passed dimensions instead of the actual size of the window. This only happens on window creation - toggling fullscreen back and forth makes it work fine.Here's an example of a FULLSCREEN_WINDOW window created with
al_create_display(1280, 720);on a 4K screen.Allegro 5.2.7:
Allegro 5.2.8: