SDL2 interface didn't follow the current X11 keyboard layout for hotkeys

Bug #1811916 reported by WHR on 2019-01-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Undecided
Unassigned

Bug Description

My X11 was configured to use Dvorak keyboard layout, with setxkbmap(1). Despite the window title said 'Press Ctrl-Alt-G to exit grab' after it grabbed the mouse, pressing this hotkey don't have any effects, and I has to switch to a virtual terminal to kill(1) that qemu process. By debugging the program I found it is using the raw key code to handle the key events, so I must use CTRL-ALT-I to exit the grab, in my keyboard.

WHR (msl0000023508) wrote :

Also affects SDL 1.2 UI in QEMU 2.12.1

WHR (msl0000023508) wrote :

I'm currently reverted the commit f8d2c9369b8302f65f4f43f14ed3987c2268a02a to use only CTRL-ALT.
https://gist.github.com/Low-power/822eace3f37c893bc6aad3af647b4c7d

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers