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

2015-09-23 Thread Peter Maydell
On 18 September 2015 at 14:46, 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

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

2015-09-23 Thread Peter Maydell
On 23 September 2015 at 14:44, Programmingkid wrote: > > On Sep 23, 2015, at 2:04 PM, Peter Maydell wrote: > >> On 18 September 2015 at 14:46, Programmingkid >> wrote: >>> When the user puts QEMU in the background while holding down a key,

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

2015-09-23 Thread Programmingkid
On Sep 23, 2015, at 2:04 PM, Peter Maydell wrote: > On 18 September 2015 at 14:46, 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

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

2015-09-19 Thread Peter Maydell
On 18 September 2015 at 22:46, 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

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

2015-09-19 Thread Programmingkid
On Sep 19, 2015, at 11:07 AM, Peter Maydell wrote: > On 18 September 2015 at 22:46, 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

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

2015-09-18 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 keys when