qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-2.5] ui/cocoa.m: Prevent activation clicks f


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH for-2.5] ui/cocoa.m: Prevent activation clicks from going to guest
Date: Wed, 2 Dec 2015 10:18:23 +0000

On 26 November 2015 at 15:19, Peter Maydell <address@hidden> wrote:
> When QEMU is brought to the foreground, the click event that activates QEMU
> should not go to the guest. Accidents happen when they do go to the guest
> without giving the user a chance to handle them. In particular, if the
> guest input device is not an absolute-position one then the location of
> the guest cursor (and thus the click) will likely not be the location of
> the host cursor when it is clicked, and could be completely obscured
> below another window. Don't send mouse clicks to QEMU unless the
> window either has focus or has grabbed mouse events.
>
> Reported-by: John Arbuckle <address@hidden>
> Signed-off-by: Peter Maydell <address@hidden>
> Reviewed-by: John Arbuckle <address@hidden>
> ---

Applied to master.

thanks
-- PMM



reply via email to

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