Re: [Qemu-devel] [PATCH] Improve Cocoa modifier key handling

2017-06-24 Thread G 3
On Jun 24, 2017, at 8:14 AM, Peter Maydell wrote: On 23 June 2017 at 21:05, Programmingkid wrote: This patch is incompatible with anything below Mac OS 10.10. Oops. Thanks for the report. We support Mac OS 10.5 and up. I was able to make this patch work on Mac OS 10.6 by changing this li

Re: [Qemu-devel] [PATCH] Improve Cocoa modifier key handling

2017-06-24 Thread Peter Maydell
On 23 June 2017 at 21:05, Programmingkid wrote: > This patch is incompatible with anything below Mac OS 10.10. Oops. Thanks for the report. > We support Mac OS 10.5 and up. I was able to make this patch work > on Mac OS 10.6 by changing this line: > > NSEventModifierFlags modifiers = [event modi

Re: [Qemu-devel] [PATCH] Improve Cocoa modifier key handling

2017-06-23 Thread Programmingkid
This patch is incompatible with anything below Mac OS 10.10. We support Mac OS 10.5 and up. I was able to make this patch work on Mac OS 10.6 by changing this line: NSEventModifierFlags modifiers = [event modifierFlags]; to this: NSUInteger modifiers = [event modifierFlags]; This wouldn't be

Re: [Qemu-devel] [PATCH] Improve Cocoa modifier key handling

2017-05-29 Thread Gerd Hoffmann
On Fri, 2017-05-26 at 16:38 -0700, Ian McKellar wrote: > I had two problems with QEMU on macOS: >  1) Sometimes when alt-tabbing to QEMU it would act as if the 'a' key > was pressed so I'd get 'a'. >  2) Using Sikuli to programatically send keys to the QEMU window text > like "f

[Qemu-devel] [PATCH] Improve Cocoa modifier key handling

2017-05-26 Thread Ian McKellar via Qemu-devel
I had two problems with QEMU on macOS: 1) Sometimes when alt-tabbing to QEMU it would act as if the 'a' key was pressed so I'd get 'a'. 2) Using Sikuli to programatically send keys to the QEMU window text like "foo_bar" would come out as "fooa-bar". They looked similar and af