[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 6/7] ui/cocoa: Subclass NSApplication so we c
From: |
Roman Bolshakov |
Subject: |
Re: [Qemu-devel] [PATCH v2 6/7] ui/cocoa: Subclass NSApplication so we can implement sendEvent |
Date: |
Fri, 22 Feb 2019 23:18:33 +0300 |
User-agent: |
NeoMutt/20180716 |
On Thu, Feb 14, 2019 at 10:28:15AM +0000, Peter Maydell wrote:
> When we switch away from our custom event handling, we still want to
> be able to have first go at any events our application receives,
> because in full-screen mode we want to send key events to the guest,
> even if they would be menu item activation events. There are several
> ways we could do that, but one simple approach is to subclass
> NSApplication so we can implement a custom sendEvent method.
> Do that, but for the moment have our sendEvent just invoke the
> superclass method.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> New patch in v2
> ---
> ui/cocoa.m | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
Reviewed-by: Roman Bolshakov <address@hidden>
Tested-by: Roman Bolshakov <address@hidden>
Thanks,
Roman
- Re: [Qemu-devel] [PATCH v2 4/7] ui/cocoa: Move console/device menu creation code up in file, (continued)
- [Qemu-devel] [PATCH v2 2/7] ui/cocoa: Use the pixman image directly in switchSurface, Peter Maydell, 2019/02/14
- [Qemu-devel] [PATCH v2 1/7] ui/cocoa: Ensure we have the iothread lock when calling into QEMU, Peter Maydell, 2019/02/14
- [Qemu-devel] [PATCH v2 6/7] ui/cocoa: Subclass NSApplication so we can implement sendEvent, Peter Maydell, 2019/02/14
- [Qemu-devel] [PATCH v2 7/7] ui/cocoa: Perform UI operations only on the main thread, Peter Maydell, 2019/02/14
- Re: [Qemu-devel] [PATCH v2 7/7] ui/cocoa: Perform UI operations only on the main thread, Roman Bolshakov, 2019/02/22
- [Qemu-devel] [PATCH v2 3/7] ui/cocoa: Factor out initial menu creation, Peter Maydell, 2019/02/14
- Re: [Qemu-devel] [PATCH v2 0/7] ui/cocoa: Use OSX's main loop, no-reply, 2019/02/14