qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs/system: Fix key for input grab
@ 2024-02-21 13:19 Tianlan Zhou
  2024-02-21 17:48 ` Alex Bennée
  0 siblings, 1 reply; 2+ messages in thread
From: Tianlan Zhou @ 2024-02-21 13:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Tianlan Zhou

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

Signed-off-by: Tianlan Zhou <bobby825@126.com>
---

v1:
- Initial patch

---
 docs/system/keys.rst.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/system/keys.rst.inc b/docs/system/keys.rst.inc
index 2e2c97aa23..59966a3fe7 100644
--- a/docs/system/keys.rst.inc
+++ b/docs/system/keys.rst.inc
@@ -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
-- 
2.38.1.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs/system: Fix key for input grab
  2024-02-21 13:19 [PATCH] docs/system: Fix key for input grab Tianlan Zhou
@ 2024-02-21 17:48 ` Alex Bennée
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Bennée @ 2024-02-21 17:48 UTC (permalink / raw)
  To: Tianlan Zhou; +Cc: qemu-devel, qemu-trivial

Tianlan Zhou <bobby825@126.com> writes:

> Key for input grab should be Ctrl-Alt-g, not just Ctrl-Alt.
>
> Signed-off-by: Tianlan Zhou <bobby825@126.com>
> ---
>
> v1:
> - Initial patch
>
> ---
>  docs/system/keys.rst.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/system/keys.rst.inc b/docs/system/keys.rst.inc
> index 2e2c97aa23..59966a3fe7 100644
> --- a/docs/system/keys.rst.inc
> +++ b/docs/system/keys.rst.inc
> @@ -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);


>  
>  In the virtual consoles, you can use Ctrl-Up, Ctrl-Down, Ctrl-PageUp and

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-21 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21 13:19 [PATCH] docs/system: Fix key for input grab Tianlan Zhou
2024-02-21 17:48 ` Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).