mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
better ctrl-alt handling, at least for SDL/X11
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1145 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9f059eca52
commit
bf2b84e4a7
1 changed files with 1 additions and 1 deletions
2
sdl.c
2
sdl.c
|
|
@ -492,7 +492,7 @@ static void sdl_refresh(DisplayState *ds)
|
|||
}
|
||||
}
|
||||
} else if (ev->type == SDL_KEYUP) {
|
||||
mod_state = (SDL_GetModState() & gui_grab_code);
|
||||
mod_state = (ev->key.keysym.mod & gui_grab_code);
|
||||
if (!mod_state) {
|
||||
if (gui_key_modifier_pressed) {
|
||||
if (gui_keysym == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue