From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0tda-0008ST-HM for qemu-devel@nongnu.org; Mon, 23 Nov 2015 11:06:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0tdU-0001xn-Mj for qemu-devel@nongnu.org; Mon, 23 Nov 2015 11:06:42 -0500 Received: from mail-vk0-x229.google.com ([2607:f8b0:400c:c05::229]:36307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0tdU-0001xY-HI for qemu-devel@nongnu.org; Mon, 23 Nov 2015 11:06:36 -0500 Received: by vkay187 with SMTP id y187so40280451vka.3 for ; Mon, 23 Nov 2015 08:06:36 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Peter Maydell Date: Mon, 23 Nov 2015 16:06:15 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 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: Programmingkid Cc: qemu-devel qemu-devel 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. > > Signed-off-by: John Arbuckle 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. thanks -- PMM