From c13d6da4d4207cc3f8c64e31019306139cf139f2 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Fri, 29 Nov 2019 16:51:53 +0800 Subject: x11: implement minimize and maximize related VOCTRLs This allows the pseudo client side decorations to be used under x11, which might be desirable when running in border=no mode. --- DOCS/man/input.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'DOCS/man') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 70e3a4e8e9..57261c39d0 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -2017,8 +2017,15 @@ Property list (or to be exact, the size the video filters output). ``2`` will set the double size, ``0.5`` halves the size. -``window-minimized`` - Return whether the video window is minimized or not. +``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 -- cgit v1.2.3