diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-11-14 19:46:35 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-11-14 19:46:35 +0000 |
commit | bf2b84e4a728cb33337762c331b2ef92248e711a (patch) | |
tree | f7745554778e08f9dfd430ffbce85480c51a26e3 | |
parent | 9f059eca52670b0fb2cc4562e97358331672fc0e (diff) | |
download | qemu-bf2b84e4a728cb33337762c331b2ef92248e711a.zip qemu-bf2b84e4a728cb33337762c331b2ef92248e711a.tar.gz qemu-bf2b84e4a728cb33337762c331b2ef92248e711a.tar.bz2 |
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
-rw-r--r-- | sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |