8000
Skip to content

ALLEGRO_FULLSCREEN_WINDOW fails under X11 in Allegro 5.2.8 #1349

@dos1

Description

@dos1

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:

Screenshot_20220714_173033

Allegro 5.2.8:

Screenshot_20220714_173011

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0