Skip to contentSkip to conversation

Update description for input grab key

PATCH Applied Tianlan Zhou 3 participants 8 messages Feb 21, 2024 – Feb 22, 2024

lore
Share & tools
lore
#0 lore raw

v2 cover Update description for input grab key

Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.

v2:
- Update help message in system/vl.c

v1:
- Initial patch

Tianlan Zhou (2):
docs/system: Update description for input grab key system/vl: Update description for input grab key

 docs/system/keys.rst.inc | 2 +-
 system/vl.c              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.38.1.windows.1
#1 lore raw

PATCH v2 1/2 docs/system: Update description for input grab key

Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.

---
 docs/system/keys.rst.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/keys.rst.inc +1 -1
index 2e2c97aa23..59966a3fe7 100644
@@ -29,7 +29,7 @@ Ctrl-Alt-n
    *3*
       Serial port
 
-Ctrl-Alt
+Ctrl-Alt-g
    Toggle mouse and keyboard grab.
 
 In the virtual consoles, you can use Ctrl-Up, Ctrl-Down, Ctrl-PageUp and
Signature · 1 line
2.38.1.windows.1
Reviewed-by on v2 1/2
#2 lore raw

Re: [PATCH v2 1/2] docs/system: Update description for input grab key

Quoted 12 lines · Tianlan Zhou

Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.

---
  docs/system/keys.rst.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/keys.rst.inc +0 -0
index 2e2c97aa23..59966a3fe7 100644

docs/system/keys.rst.inc Ctrl-Alt-n · line 35

Quoted 8 lines
docs/system/keys.rst.inc +1 -1
@@ -29,7 +29,7 @@ Ctrl-Alt-n
     *3*
        Serial port
 
-Ctrl-Alt
+Ctrl-Alt-g
     Toggle mouse and keyboard grab.
 
  In the virtual consoles, you can use Ctrl-Up, Ctrl-Down, Ctrl-PageUp and
Fixes f8d2c9369b ("sdl: use ctrl-alt-g as grab hotkey")
#3 lore raw

PATCH v2 2/2 system/vl: Update description for input grab key

In reply to Tianlan Zhou

Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.

---
 system/vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
system/vl.c +1 -1
index a82555ae15..b8469d9965 100644
@@ -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"
Signature · 1 line
2.38.1.windows.1
Reviewed-by on v2 2/2
#4 lore raw

Re: [PATCH v2 2/2] system/vl: Update description for input grab key

Quoted 12 lines · Tianlan Zhou

Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.

---
  system/vl.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
system/vl.c +0 -0
index a82555ae15..b8469d9965 100644

system/vl.c static void help(int exitcode) · line 897

Quoted 8 lines
system/vl.c +1 -1
@@ -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")
#5 lore raw

Re: [PATCH v2 2/2] system/vl: Update description for input grab key

In reply to Tianlan Zhou

Cc qemu-stable, as this will fix the qemu-system-xxx -h help message.

Quoted 22 lines · Tianlan Zhou

Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.

---
 system/vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
system/vl.c +1 -1
index a82555ae15..b8469d9965 100644
@@ -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"
Signature · 1 line
2.38.1.windows.1
#6 lore raw

Re: [PATCH v2 2/2] system/vl: Update description for input grab key

Quoted 1 line · Tianlan Zhou

Cc qemu-stable, as this will fix the qemu-system-xxx -h help message.

Yes, I already picked up both of them.

/mjt

#7 lore raw
In reply to Tianlan Zhou

21.02.2024 22:52, Tianlan Zhou :

Quoted 8 lines

Input grab key should be Ctrl-Alt-g, not just Ctrl-Alt.

v2:
- Update help message in system/vl.c

v1:
- Initial patch

Quoted 7 lines

Tianlan Zhou (2):
docs/system: Update description for input grab key system/vl: Update description for input grab key

  docs/system/keys.rst.inc | 2 +-
  system/vl.c              | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

Applied to trivial-patches, thanks!

/mjt