Skip to contentSkip to conversation

docs/system: Fix key for input grab

PATCH Superseded Tianlan Zhou 2 participants 2 messages Feb 21, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/system: Fix key for input grab

Key for input grab should be Ctrl-Alt-g, not just Ctrl-Alt.

---

v1:
- Initial patch

---
 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
#1 lore raw
Quoted 17 lines · Tianlan Zhou

Key for input grab should be Ctrl-Alt-g, not just Ctrl-Alt.

---

v1:
- Initial patch

---
 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 33

Quoted 6 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.

I think this is correct although I notice we also echo this advice in the vl help text:

#include "qemu-options.def"

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"
"\n"
"When using -nographic, press 'ctrl-a h' to get some help.\n" "\n"
QEMU_HELP_BOTTOM "\n");

exit(exitcode);

Quoted 2 lines
docs/system/keys.rst.inc +0 -0
 In the virtual consoles, you can use Ctrl-Up, Ctrl-Down, Ctrl-PageUp and
Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro