summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-29 13:49:33 +0100
committerwm4 <wm4@nowhere>2019-11-29 13:56:58 +0100
commit40c2f2eeb05f83176d325d4efd7a2e1635447f04 (patch)
tree8cd822c02ba57aac71b4e7891990f64d739cf9d6 /DOCS
parentd37e461eab16f990751d3ab9a459cad600e3b510 (diff)
downloadmpv-40c2f2eeb05f83176d325d4efd7a2e1635447f04.tar.bz2
mpv-40c2f2eeb05f83176d325d4efd7a2e1635447f04.tar.xz
command: change window-minimized/window-maximized to options
Unfortunately, this breaks window state reporting for all VOs which supported it. This can be fixed later (for x11 in the next commit).
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst10
-rw-r--r--DOCS/man/options.rst17
2 files changed, 17 insertions, 10 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 57261c39d0..c96fd57300 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -2017,16 +2017,6 @@ Property list
(or to be exact, the size the video filters output). ``2`` will set the
double size, ``0.5`` halves the size.
-``window-maximized`` (RW)
- Whether the video window is maximized or not. Setting this will maximize,
- or unmaximize, the video window if the current VO supports it.
-
-``window-minimized`` (RW)
- Whether the video window is minimized or not. Setting this will minimize,
- or unminimze, the video window if the current VO supports it. Note that
- some VOs may support minimization while not supporting unminimization
- (eg: X11 and Wayland).
-
``display-names``
Names of the displays that the mpv window covers. On X11, these
are the xrandr names (LVDS1, HDMI1, DP1, VGA1, etc.). On Windows, these
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index fde338ceb6..7c36cb657a 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2807,6 +2807,23 @@ Window
For example, ``--window-scale=0.5`` would show the window at half the
video size.
+``--window-minimized=<yes|no>``
+ Whether the video window is minimized or not. Setting this will minimize,
+ or unminimze, the video window if the current VO supports it. Note that
+ some VOs may support minimization while not supporting unminimization
+ (eg: X11 and Wayland).
+
+ Whether this option and ``--window-maximized`` work on program start or
+ at runtime, and whether they're (at runtime) updated to reflect the actual
+ window state, heavily depends on the VO and the windowing system. Some VOs
+ simply do not implement them or parts of them, while other VOs may be
+ restricted by the windowing systems (especially Wayland).
+
+``--window-maximized=<yes|no>``
+ Whether the video window is maximized or not. Setting this will maximize,
+ or unmaximize, the video window if the current VO supports it. See
+ ``--window-minimized`` for further remarks.
+
``--cursor-autohide=<number|no|always>``
Make mouse cursor automatically hide after given number of milliseconds.
``no`` will disable cursor autohide. ``always`` means the cursor will stay