From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eAbAz-00076b-Ow for qemu-devel@nongnu.org; Fri, 03 Nov 2017 08:34:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eAbAw-0000Jw-K1 for qemu-devel@nongnu.org; Fri, 03 Nov 2017 08:34:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52786) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eAbAw-0000Jj-E6 for qemu-devel@nongnu.org; Fri, 03 Nov 2017 08:34:18 -0400 Message-ID: <1509712454.31823.24.camel@redhat.com> From: Gerd Hoffmann Date: Fri, 03 Nov 2017 13:34:14 +0100 In-Reply-To: References: <20171023210803.20998-1-makovick@gmail.com> <20171023210803.20998-5-makovick@gmail.com> <1509532830.3856.7.camel@redhat.com> <1509701213.31823.11.camel@redhat.com> <1509705342.31823.16.camel@redhat.com> <1509706872.31823.20.camel@redhat.com> <1509710857.31823.22.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 4/7] sdl2: Only accept the hotkeys on the main window List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?UTF-8?Q?Jind=C5=99ich_Makovi=C4=8Dka?= , QEMU Developers On Fri, 2017-11-03 at 12:10 +0000, Peter Maydell wrote: > On 3 November 2017 at 12:07, Gerd Hoffmann wrote: > > =C2=A0 Hi, > >=20 > > > I don't think we have the same grab semantics exactly on all > > > UI frontends either, so I dunno that that "doesn't grab on > > > tablet" > > > is true either. > >=20 > > Well, there are pointer grabs and keyboard grabs. > >=20 > > Pointer grabs happen in relative mouse mode only, and I'm pretty > > sure > > we are consistent here. >=20 > Looking at the cocoa code, we grab the mouse even for absolute. > Commit f61c387ea627079b3 says we did that to align with SDL. That seems to be a *keyboard* grab ... cheers, Gerd