diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-06-02 13:15:05 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-06-04 08:40:42 +0200 |
commit | 2deb4acc7c7ee770a0e0e75fd321effd916ca7df (patch) | |
tree | 33eadd74eaf37b0c62b57a5ce168744b1493ed22 /ui/vnc.c | |
parent | 5a165668e70795de2665f18e3059dddd0059901f (diff) | |
download | qemu-2deb4acc7c7ee770a0e0e75fd321effd916ca7df.zip qemu-2deb4acc7c7ee770a0e0e75fd321effd916ca7df.tar.gz qemu-2deb4acc7c7ee770a0e0e75fd321effd916ca7df.tar.bz2 |
input/vnc: use kbd delays in press_key
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc.c')
-rw-r--r-- | ui/vnc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1553,7 +1553,9 @@ static void press_key(VncState *vs, int keysym) { int keycode = keysym2scancode(vs->vd->kbd_layout, keysym) & SCANCODE_KEYMASK; qemu_input_event_send_key_number(vs->vd->dcl.con, keycode, true); + qemu_input_event_send_key_delay(0); qemu_input_event_send_key_number(vs->vd->dcl.con, keycode, false); + qemu_input_event_send_key_delay(0); } static int current_led_state(VncState *vs) |