qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 18/48] make cursor grab optional


From: andrzej zaborowski
Subject: Re: [Qemu-devel] [PATCH 18/48] make cursor grab optional
Date: Thu, 22 Apr 2010 04:01:48 +0200

On 26 March 2010 18:06, Riku Voipio <address@hidden> wrote:
> From: Riku Voipio <address@hidden>
>
> Signed-Off-By: Riku Voipio <address@hidden>
>
> ---
>  sysemu.h |    1 +
>  vl.c     |    1 +
>  2 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;
>  extern int smp_cpus;
>  extern int max_cpus;
>  extern int cursor_hide;
> +extern int cursor_allow_grab;
>  extern int graphic_rotate;
>  extern int no_quit;
>  extern 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 = 1;
>  int no_reboot = 0;
>  int no_shutdown = 0;
>  int cursor_hide = 1;
> +int cursor_allow_grab = 1;
>  int graphic_rotate = 0;
>  uint8_t irq0override = 1;
>  #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




reply via email to

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