diff options
| author | Gerd Hoffmann | 2011-01-14 10:56:54 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2011-01-24 17:21:34 +0100 |
| commit | 9892088b52da05c3944e84982922fa984e048044 (patch) | |
| tree | 8b64c040d9459da504481309b9e09d69a028c43a /linux-user/linux_loop.h | |
| parent | usb hid: move head+n to common struct (diff) | |
| download | qemu-9892088b52da05c3944e84982922fa984e048044.tar.gz qemu-9892088b52da05c3944e84982922fa984e048044.tar.xz qemu-9892088b52da05c3944e84982922fa984e048044.zip | |
vnc: fix numlock+capslock tracking
This patch makes the numlock+capslock tracking logic only look at
keydown events. Without this patch the vnc server will insert
bogous capslock keypress in case it sees the following key sequence:
shift down --- 'A' down --- shift up --- 'A' up
^ here
It doesn't hurt with a PS/2 keyboard, but it disturbs the USB Keyboard.
And with the key event queue just added to the usb keyboard the guest
will actually notice.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
