Re: [Qemu-devel] [PATCH v3] ui/cocoa.m: prevent stuck key situation

2015-09-25 Thread Peter Maydell
On 23 September 2015 at 18:21, Programmingkid wrote: > 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 sympto

[Qemu-devel] [PATCH v3] ui/cocoa.m: prevent stuck key situation

2015-09-23 Thread Programmingkid
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 whe