Skip to content

spurious SDL_KEYMAPCHANGED when using mouse outside of SDL window #5520

@sanette

Description

@sanette

My app is developed under ubuntu/KDE and I was using old SDL 2.0.10 that ships by default.
Yesterday I just tried to install SDL 2.0.20 from the website, out of curiosity. Everything seems to work, except
that my event loop is now filled with many SDL_KEYMAPCHANGED events. I never had these ones before.
More specifically, I get one when I click on the window top bar, and most curiously, I get loads of them when my SDL window is not focused and I use my mouse elsewhere on my desktop. For instance scrolling the terminal with mouse wheel will generate a bunch of SDL_KEYMAPCHANGED on my (supposedly) inactive SDL window...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions