]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu-docs: Update options for graphical frontends
authorYihuan Pan <xun794@gmail.com>
Mon, 22 Jan 2024 04:22:06 +0000 (12:22 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 30 Jan 2024 18:20:20 +0000 (21:20 +0300)
The command line options `-ctrl-grab` and `-alt-grab` have been removed
in QEMU 7.1. Instead, use the `-display sdl,grab-mod=<modifiers>` option
to specify the grab modifiers.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2103
Signed-off-by: Yihuan Pan <xun794@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
docs/system/keys.rst.inc

index bd9b8e5f6f5d3a6a7b08f29edb230cf3d8b1c80f..2e2c97aa23a458005621236a4b1ea27a5bfb874a 100644 (file)
@@ -1,8 +1,9 @@
-During the graphical emulation, you can use special key combinations to
-change modes. The default key mappings are shown below, but if you use
-``-alt-grab`` then the modifier is Ctrl-Alt-Shift (instead of Ctrl-Alt)
-and if you use ``-ctrl-grab`` then the modifier is the right Ctrl key
-(instead of Ctrl-Alt):
+During the graphical emulation, you can use special key combinations from
+the following table to change modes. By default the modifier is Ctrl-Alt
+(used in the table below) which can be changed with ``-display`` suboption
+``mod=`` where appropriate. For example, ``-display sdl,
+grab-mod=lshift-lctrl-lalt`` changes the modifier key to Ctrl-Alt-Shift,
+while ``-display sdl,grab-mod=rctrl`` changes it to the right Ctrl key.
 
 Ctrl-Alt-f
    Toggle full screen