From patchwork Fri Mar 26 16:06:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [18/48] make cursor grab optional Date: Fri, 26 Mar 2010 06:06:38 -0000 From: Riku Voipio X-Patchwork-Id: 48674 Message-Id: <44f3433411b5c623f402cf63039b95d66188cd7c.1269617186.git.riku.voipio@nokia.com> To: qemu-devel@nongnu.org Cc: Riku Voipio From: Riku Voipio Signed-Off-By: Riku Voipio --- 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