aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorDustin Kirkland <kirkland@canonical.com>2009-09-17 15:48:04 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-06 14:36:09 -0500
commit0ca9f8a42d64571d3310ea25a63588d77efd58c3 (patch)
treecd2f18ba56b3f3dbb5ceb68e0cf9accc812e71f8 /qemu-options.hx
parenta6af8e5f96d4815c13e58af106bb9b8535f799a4 (diff)
offer right-ctrl as a grab option
Add support for -ctrl-grab to use the right-ctrl button to grab/release the mouse in SDL. The multi-button ctrl-alt and ctrl-alt-shift grab buttons present an accessibility problem to users who cannot press more than one button at a time. https://bugs.edge.launchpad.net/ubuntu/+source/qemu-kvm/+bug/237635 Signed-off-by: Dustin Kirkland <kirkland@canonical.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx10
1 files changed, 10 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index f21e9f9da2..3dd76b34bf 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -478,6 +478,16 @@ Use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt).
ETEXI
#ifdef CONFIG_SDL
+DEF("ctrl-grab", 0, QEMU_OPTION_ctrl_grab,
+ "-ctrl-grab use Right-Ctrl to grab mouse (instead of Ctrl-Alt)\n")
+#endif
+STEXI
+@item -ctrl-grab
+
+Use Right-Ctrl to grab mouse (instead of Ctrl-Alt).
+ETEXI
+
+#ifdef CONFIG_SDL
DEF("no-quit", 0, QEMU_OPTION_no_quit,
"-no-quit disable SDL window close capability\n")
#endif