]> git.proxmox.com Git - mirror_qemu.git/commit
vnc: Set default kbd delay to 10ms
authorAlexander Graf <agraf@suse.de>
Wed, 12 Jul 2017 12:43:45 +0000 (14:43 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 17 Jul 2017 09:35:27 +0000 (11:35 +0200)
commitd3b0db6dfea6b3a9ee0d96aceb796bdcafa84314
tree20eb139b40a649d5a6b2282cc094b38d80a062da
parent6e2c46334385c7e295ac883c801c81b4925fb54f
vnc: Set default kbd delay to 10ms

The current VNC default keyboard delay is 1ms. With that we're constantly
typing faster than the guest receives keyboard events from an XHCI attached
USB HID device.

The default keyboard delay time in the input layer however is 10ms. I don't know
how that number came to be, but empirical tests on some OpenQA driven ARM
systems show that 10ms really is a reasonable default number for the delay.

This patch moves the VNC delay also to 10ms. That way our default is much
safer (good!) and also consistent with the input layer default (also good!).

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1499863425-103133-1-git-send-email-agraf@suse.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qemu-options.hx
ui/vnc.c