summary refs log tree commit diff stats
path: root/hw/apic_common.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-02-08 13:18:37 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-02-10 09:58:33 +0100
commit7bc9318bfb68b2d773449a55d4fa800d0fdb0918 (patch)
tree49b9e5f1878b8b3ee822e70c9e37731ea3953eac /hw/apic_common.c
parent8cf364898cfe4ae761f2253e91a040633d6f87be (diff)
downloadfocaccia-qemu-7bc9318bfb68b2d773449a55d4fa800d0fdb0918.tar.gz
focaccia-qemu-7bc9318bfb68b2d773449a55d4fa800d0fdb0918.zip
vnc: lift modifier keys on client disconnect.
For any modifier key (shift, ctrl, alt) still pressed on disconnect
inject a key-up event into the guest.  The vnc client is gone, it will
not do that, so qemu has to do it instead.

Without this keys will get stuck, making the guest act in weird ways
after reconnecting.  Reproducer: exit vnc client via Alt-F4, guest
continues to see the pressed alt key and will not react to key events
in any useful way until you tap the alt key once to unstuck it.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/apic_common.c')
0 files changed, 0 insertions, 0 deletions