aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-06-01 08:22:30 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-06-03 08:23:26 +0200
commitc5ce83334465ee5acb6789a2f22d125273761c9e (patch)
tree398c399d2da0ca42a4478e3778ea55a466d29d49 /ui/vnc.h
parent8efa5f29f83816ae34f428143de49acbaacccb24 (diff)
vnc: add configurable keyboard delay
Limits the rate kbd events from the vnc server are forwarded to the guest, so input devices which are typically low-bandwidth can keep up even on bulky input. v2: update documentation too. v3: spell fixes. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: Yang Hongyang <hongyang.yang@easystack.cn> Message-id: 1464762150-25817-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'ui/vnc.h')
-rw-r--r--ui/vnc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/vnc.h b/ui/vnc.h
index 81a326116b..6568bca520 100644
--- a/ui/vnc.h
+++ b/ui/vnc.h
@@ -155,6 +155,7 @@ struct VncDisplay
DisplayChangeListener dcl;
kbd_layout_t *kbd_layout;
int lock_key_sync;
+ int key_delay_ms;
QemuMutex mutex;
QEMUCursor *cursor;