Received: from eggs.gnu.org ([2001:4830:134:3::10]:49003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0v38-0001VP-38 for qemu-devel@nongnu.org; Mon, 23 Nov 2015 12:37:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0v34-0007Op-MU for qemu-devel@nongnu.org; Mon, 23 Nov 2015 12:37:10 -0500 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:36307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0v34-0007Oj-Hv for qemu-devel@nongnu.org; Mon, 23 Nov 2015 12:37:06 -0500 Received: by qgcc31 with SMTP id c31so75588294qgc.3 for ; Mon, 23 Nov 2015 09:37:05 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Mon, 23 Nov 2015 12:37:03 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <2C4EC779-2AAA-46C7-9D1D-B8F2699554AD@gmail.com> References: Subject: Re: [Qemu-devel] [PATCH] ui/cocoa.m: Prevent activation clicks from going to guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel qemu-devel On Nov 23, 2015, at 11:06 AM, Peter Maydell wrote: > On 22 November 2015 at 01:43, Programmingkid = 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 change to handle them. Buttons are clicked = accidently. >> Windows are closed accidently. Volumes are unmounted accidently. This = patch >> prevents these accidents from happening. >>=20 >> Signed-off-by: John Arbuckle >=20 > So, I checked how Parallels behaves (this is my go-to check for > "how should a native OSX VM window behave?"), and it works the > same way QEMU does -- left mouse clicks "click through" so they > both raise the window to the front and have the behaviour > indicated by the guest OS. What if we were better than Parallels? Apple's own human interface = guidelines state that the activation click should not make any changes to the application.=