projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c279bd
)
reset key modifiers when switching console (aka savevm keyboard bug)
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 17 Aug 2006 10:42:46 +0000
(10:42 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 17 Aug 2006 10:42:46 +0000
(10:42 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2112
c046a42c
-6fe2-441c-8c8c-
71466251a162
sdl.c
patch
|
blob
|
history
diff --git
a/sdl.c
b/sdl.c
index 38d75536ddeb8d5393d85480ec00f49ea5995134..00f574640a4686a31741c05542cc4755604da2b6 100644
(file)
--- a/
sdl.c
+++ b/
sdl.c
@@
-394,6
+394,8
@@
static void sdl_refresh(DisplayState *ds)
gui_keysym = 1;
break;
case 0x02 ... 0x0a: /* '1' to '9' keys */
+ /* Reset the modifiers sent to the current console */
+ reset_keys();
console_select(keycode - 0x02);
if (!is_graphic_console()) {
/* display grab if going to a text console */
@@
-468,7
+470,7
@@
static void sdl_refresh(DisplayState *ds)
}
}
}
- if (is_graphic_console())
+ if (is_graphic_console()
&& !gui_keysym
)
sdl_process_key(&ev->key);
break;
case SDL_QUIT: