8000
Skip to content

ALLEGRO_EVENT_DISPLAY_SWITCH_IN unexpected alt-tab behavior on ubuntu 22.04 #1367

@amarillion

Description

@amarillion

I noticed that on my Linux system, the ALLEGRO_EVENT_DISPLAY_SWITCH_IN is only generated when clicking on a window, but not when alt-tabbing.

So:
Run a game window
Click outside the window
Click on the window again
-> ALLEGRO_EVENT_DISPLAY_SWITCH_IN is generated

Run a game window
Alt-tab to a different window
Alt-tab to the game window again
-> NO event generated

I would expect the behavior to be the same in both cases, as indeed it is on my Windows system.

I noticed this problem with Allegro 5.2.8.0 and Ubuntu 22.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0