diff options
author | John Arbuckle <programmingkidx@gmail.com> | 2015-09-25 23:14:00 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-09-25 23:14:00 +0100 |
commit | 3b178b7130ecf4005cd73d0c40e964c9d0d31a48 (patch) | |
tree | 193706a990fc0a7497f0d4a349a949a8800c1e49 /coroutine-win32.c | |
parent | d9bc14f63e880010ba72b3a0169ff8ef52275a63 (diff) |
ui/cocoa.m: prevent stuck key situation
When the user puts QEMU in the background while holding
down a key, QEMU will not receive the keyup event when
the user lets go of the key. When the user goes back to
QEMU, QEMU will think the key is still down causing
stuck key symptoms. This patch fixes this problem by
releasing all down keys when QEMU goes into the
background.
Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 7A3FA6EE-84C8-4422-A786-C899B7229D32@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'coroutine-win32.c')
0 files changed, 0 insertions, 0 deletions