summaryrefslogtreecommitdiffstats
path: root/tests/test-io-channel-socket.c
diff options
context:
space:
mode:
authorJohn Arbuckle2018-07-03 04:00:17 +0200
committerPeter Maydell2018-07-24 12:41:48 +0200
commit0c6c43955421764998eb0dd1863ee8b38a3ff1c1 (patch)
tree44868b4d6872e9c6aee0924a2a271d4a48f69218 /tests/test-io-channel-socket.c
parentMerge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' in... (diff)
downloadqemu-0c6c43955421764998eb0dd1863ee8b38a3ff1c1.tar.gz
qemu-0c6c43955421764998eb0dd1863ee8b38a3ff1c1.tar.xz
qemu-0c6c43955421764998eb0dd1863ee8b38a3ff1c1.zip
ui/cocoa.m: prevent stuck command key when going into full screen mode
When the user pushes Command-F in QEMU while the mouse is ungrabbed, QEMU goes into full screen mode. When the user finally releases the command key, it is sent to the guest as an event. The makes the guest operating system think the command key is down when it is really up. To prevent this situation from happening, we simply drop the first command key event after the user has gone into full screen mode using Command-F. Signed-off-by: John Arbuckle <programmingkidx@gmail.com> Message-id: 20180703020017.1032-1-programmingkidx@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/test-io-channel-socket.c')
0 files changed, 0 insertions, 0 deletions