summaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-10-12 15:03:04 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-10-13 09:25:24 +0200
commit2a57c55f26f7ba6dcea6d01ef74bae7069150f6f (patch)
treebf702f53ae78c5d648da27edfaa10d914b8eb565 /qemu-io.c
parentdbee9897d5c35643ab2932a86bdf27bee673a7b8 (diff)
downloadqemu-2a57c55f26f7ba6dcea6d01ef74bae7069150f6f.tar.gz
input-linux: initialize key state
Query input device keys, initialize state accordingly, so the correct state is reflected in case any key is pressed at initialization time. There is a high chance for this to actually happen for the 'enter' key in case you start qemu with a terminal command (directly or virsh). When finding any pressed keys the input grab is delayed until all keys are lifted, to avoid confusing guest and host with appearently stuck keys. Reported-by: Muted Bytes <mutedbytes@gmail.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1476277384-30365-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions