]> git.proxmox.com Git - qemu.git/blobdiff - input.c
vnc: rename vnc-encoding-* vnc-enc-*
[qemu.git] / input.c
diff --git a/input.c b/input.c
index 651442d793a8228d78968ca1ab5928f819cc0db6..ec05548f7a75f961d7ef22cf59250f0cf6f78f3e 100644 (file)
--- a/input.c
+++ b/input.c
@@ -42,6 +42,12 @@ void qemu_add_kbd_event_handler(QEMUPutKBDEvent *func, void *opaque)
     qemu_put_kbd_event = func;
 }
 
+void qemu_remove_kbd_event_handler(void)
+{
+    qemu_put_kbd_event_opaque = NULL;
+    qemu_put_kbd_event = NULL;
+}
+
 static void check_mode_change(void)
 {
     static int current_is_absolute, current_has_absolute;