diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-08 13:18:37 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-10 09:58:33 +0100 |
commit | 7bc9318bfb68b2d773449a55d4fa800d0fdb0918 (patch) | |
tree | 49b9e5f1878b8b3ee822e70c9e37731ea3953eac /hw/wdt_ib700.c | |
parent | 8cf364898cfe4ae761f2253e91a040633d6f87be (diff) |
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/wdt_ib700.c')
0 files changed, 0 insertions, 0 deletions