qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]