Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.
Signed-off-by: Tianlan Zhou <bobby825@126.com>
---
system/vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
--
2.38.1.windows.1
Cc qemu-stable, as this will fix the `qemu-system-xxx -h` help message. On 2024/2/22 3:52, Tianlan Zhou wrote: > Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt. > > Signed-off-by: Tianlan Zhou <bobby825@126.com> > --- > system/vl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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" > -- > 2.38.1.windows.1
22.02.2024 15:50, Tianlan Zhou wrote: > Cc qemu-stable, as this will fix the `qemu-system-xxx -h` help message. Yes, I already picked up both of them. /mjt
On 21/02/2024 20.52, Tianlan Zhou wrote: > Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt. > > Signed-off-by: Tianlan Zhou <bobby825@126.com> > --- > system/vl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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" Fixes: f8d2c9369b ("sdl: use ctrl-alt-g as grab hotkey") Reviewed-by: Thomas Huth <thuth@redhat.com>
© 2016 - 2024 Red Hat, Inc.