From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4ljo-0003JL-5R for qemu-devel@nongnu.org; Wed, 21 Apr 2010 22:01:56 -0400 Received: from [140.186.70.92] (port=42504 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4ljk-0003Ia-L4 for qemu-devel@nongnu.org; Wed, 21 Apr 2010 22:01:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4ljh-0000uS-U3 for qemu-devel@nongnu.org; Wed, 21 Apr 2010 22:01:52 -0400 Received: from mail-bw0-f211.google.com ([209.85.218.211]:33577) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ljh-0000uF-Lq for qemu-devel@nongnu.org; Wed, 21 Apr 2010 22:01:49 -0400 Received: by bwz3 with SMTP id 3so7398971bwz.11 for ; Wed, 21 Apr 2010 19:01:48 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <44f3433411b5c623f402cf63039b95d66188cd7c.1269617186.git.riku.voipio@nokia.com> References: <44f3433411b5c623f402cf63039b95d66188cd7c.1269617186.git.riku.voipio@nokia.com> Date: Thu, 22 Apr 2010 04:01:48 +0200 Message-ID: Subject: Re: [Qemu-devel] [PATCH 18/48] make cursor grab optional From: andrzej zaborowski Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Riku Voipio Cc: Riku Voipio , qemu-devel@nongnu.org On 26 March 2010 18:06, Riku Voipio wrote: > From: Riku Voipio > > Signed-Off-By: Riku Voipio > > --- > =C2=A0sysemu.h | =C2=A0 =C2=A01 + > =C2=A0vl.c =C2=A0 =C2=A0 | =C2=A0 =C2=A01 + > =C2=A02 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/sysemu.h b/sysemu.h > index 525efd1..5b4ddd8 100644 > --- a/sysemu.h > +++ b/sysemu.h > @@ -128,6 +128,7 @@ extern int usb_enabled; > =C2=A0extern int smp_cpus; > =C2=A0extern int max_cpus; > =C2=A0extern int cursor_hide; > +extern int cursor_allow_grab; > =C2=A0extern int graphic_rotate; > =C2=A0extern int no_quit; > =C2=A0extern int semihosting_enabled; > diff --git a/vl.c b/vl.c > index b4dfb2e..bc7635c 100644 > --- a/vl.c > +++ b/vl.c > @@ -224,6 +224,7 @@ int fd_bootchk =3D 1; > =C2=A0int no_reboot =3D 0; > =C2=A0int no_shutdown =3D 0; > =C2=A0int cursor_hide =3D 1; > +int cursor_allow_grab =3D 1; > =C2=A0int graphic_rotate =3D 0; > =C2=A0uint8_t irq0override =3D 1; > =C2=A0#ifndef _WIN32 > -- > 1.6.5 > > > > The n900 uses a touchscreen, right? For absolute pointer devices there's no need to do the grab so unless something else is broken, you shouldn't need to disallow it from command line. Cheers