summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTianlan Zhou <bobby825@126.com>2024-02-22 03:52:10 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2024-02-22 08:59:16 +0300
commit185311130f54ead75c407cdf83004d575829b5d2 (patch)
tree0c8e92688b489fee3672ee342b8b1a28aecfc54d
parent4a20ac400ff0753f159071764826b20e5320cde9 (diff)
downloadfocaccia-qemu-185311130f54ead75c407cdf83004d575829b5d2.tar.gz
focaccia-qemu-185311130f54ead75c407cdf83004d575829b5d2.zip
system/vl: Update description for input grab key
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>
-rw-r--r--system/vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/vl.c b/system/vl.c
index a82555ae15..b8469d9965 100644
--- a/system/vl.c
+++ b/system/vl.c
@@ -891,7 +891,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"