projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2396187
)
input: activate legacy kbd
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 11 Mar 2014 13:08:31 +0000
(14:08 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 12 Mar 2014 09:43:16 +0000
(10:43 +0100)
Restores traditional behavior: Keyboard input will be routed to the most
recently added keyboard. Without this all kbd input goes to the ps/2
keyboard, even if you add a usb keyboard to your guest.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/input-legacy.c
patch
|
blob
|
history
diff --git
a/ui/input-legacy.c
b/ui/input-legacy.c
index
7dc486b
..
1aa2605
100644
(file)
--- a/
ui/input-legacy.c
+++ b/
ui/input-legacy.c
@@
-333,6
+333,7
@@
QEMUPutKbdEntry *qemu_add_kbd_event_handler(QEMUPutKBDEvent *func, void *opaque)
entry->opaque = opaque;
entry->s = qemu_input_handler_register((DeviceState *)entry,
&legacy_kbd_handler);
+ qemu_input_handler_activate(entry->s);
return entry;
}