diff options
author | Volker Rümelin <vr_qemu@t-online.de> | 2024-09-09 08:15:52 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-09-13 20:12:16 +0200 |
commit | eaea80315f8237715dd83ae7c55ad4280f66db7c (patch) | |
tree | bdec099d829b6cd8579a7f57b5fc85ac19a413be /tests/functional/qemu_test/linuxkernel.py | |
parent | df3c610ffc0335940e95826c643477b46418dcd3 (diff) | |
download | qemu-eaea80315f8237715dd83ae7c55ad4280f66db7c.zip qemu-eaea80315f8237715dd83ae7c55ad4280f66db7c.tar.gz qemu-eaea80315f8237715dd83ae7c55ad4280f66db7c.tar.bz2 |
ui/sdl2: ignore GUI keys in SDL_TEXTINPUT handler
Ignore GUI keys for SDL_TEXTINPUT events, just like GUI keys are
ignored for SDL_KEYDOWN events. This prevents unintended text input
in a text console when hiding the text console with the GUI keys.
The SDL_TEXTINPUT event always comes after the SDL_KEYDOWN event.
See https://github.com/libsdl-org/SDL/issues/1659.
Tested-by: Howard Spoelstra <hsp.cat7@gmail.com>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Tested-by: Bernhard Beschow <shentey@gmail.com>
Message-ID: <20240909061552.6122-3-vr_qemu@t-online.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions