[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/7] qemu-options: Tell more for -display cocoa
From: |
Michael Tokarev |
Subject: |
[PULL 3/7] qemu-options: Tell more for -display cocoa |
Date: |
Mon, 25 Dec 2023 11:10:03 +0300 |
From: Akihiko Odaki <akihiko.odaki@daynix.com>
Some options for -display cocoa were not described or not listed at all.
Reported-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
qemu-options.hx | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ef49b856d6..b66570ae00 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2088,6 +2088,7 @@ DEF("display", HAS_ARG, QEMU_OPTION_display,
#if defined(CONFIG_COCOA)
"-display cocoa[,full-grab=on|off][,swap-opt-cmd=on|off]\n"
" [,show-cursor=on|off][,left-command-key=on|off]\n"
+ " [,full-screen=on|off][,zoom-to-fit=on|off]\n"
#endif
#if defined(CONFIG_OPENGL)
"-display egl-headless[,rendernode=<file>]\n"
@@ -2189,10 +2190,26 @@ SRST
provides drop-down menus and other UI elements to configure and
control the VM during runtime. Valid parameters are:
+ ``full-grab=on|off`` : Capture all key presses, including system
combos.
+ This requires accessibility permissions, since
it
+ performs a global grab on key events.
+ (default: off) See
+
https://support.apple.com/en-in/guide/mac-help/mh32356/mac
+
+ ``swap-opt-cmd=on|off`` : Swap the Option and Command keys so that
their
+ key codes match their position on non-Mac
+ keyboards and you can use Meta/Super and Alt
+ where you expect them. (default: off)
+
``show-cursor=on|off`` : Force showing the mouse cursor
``left-command-key=on|off`` : Disable forwarding left command key to
host
+ ``full-screen=on|off`` : Start in fullscreen mode
+
+ ``zoom-to-fit=on|off`` : Expand video output to the window size,
+ defaults to "off"
+
``egl-headless[,rendernode=<file>]``
Offload all OpenGL operations to a local DRI device. For any
graphical display, this display needs to be paired with either
--
2.39.2
- [PULL 0/7] Trivial patches for 2023-12-25, Michael Tokarev, 2023/12/25
- [PULL 1/7] target/riscv/kvm: do not use non-portable strerrorname_np(), Michael Tokarev, 2023/12/25
- [PULL 2/7] qemu-options: Unify the help entries for cocoa, Michael Tokarev, 2023/12/25
- [PULL 5/7] accel/kvm: Turn DPRINTF macro use into tracepoints, Michael Tokarev, 2023/12/25
- [PULL 3/7] qemu-options: Tell more for -display cocoa,
Michael Tokarev <=
- [PULL 4/7] docs/tools/qemu-img.rst: fix typo (sumarizes), Michael Tokarev, 2023/12/25
- [PULL 6/7] include/ui/rect.h: fix qemu_rect_init() mis-assignment, Michael Tokarev, 2023/12/25
- [PULL 7/7] virtio-blk: Fix potential nullpointer read access in virtio_blk_data_plane_destroy, Michael Tokarev, 2023/12/25
- Re: [PULL 0/7] Trivial patches for 2023-12-25, Philippe Mathieu-Daudé, 2023/12/26
- Re: [PULL 0/7] Trivial patches for 2023-12-25, Stefan Hajnoczi, 2023/12/26