]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
system/vl: Update description for input grab key
authorTianlan Zhou <bobby825@126.com>
Wed, 21 Feb 2024 19:52:10 +0000 (03:52 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 22 Feb 2024 15:46:06 +0000 (18:46 +0300)
Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.

Fixes: f8d2c9369b ("sdl: use ctrl-alt-g as grab hotkey")
Signed-off-by: Tianlan Zhou <bobby825@126.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 185311130f54ead75c407cdf83004d575829b5d2)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
system/vl.c

index 938b7b5accc45d26b6677e71d50fd8fee367e473..e18fa3ce4654818683f18520d1361dcb4430c7fa 100644 (file)
@@ -892,7 +892,7 @@ static void help(int exitcode)
     printf("\nDuring emulation, the following keys are useful:\n"
            "ctrl-alt-f      toggle full screen\n"
            "ctrl-alt-n      switch to virtual console 'n'\n"
-           "ctrl-alt        toggle mouse and keyboard grab\n"
+           "ctrl-alt-g      toggle mouse and keyboard grab\n"
            "\n"
            "When using -nographic, press 'ctrl-a h' to get some help.\n"
            "\n"