summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2020-12-13 17:13:18 +0100
committerJan Ekström <jeebjp@gmail.com>2020-12-19 21:37:55 +0200
commitaf264029483656e04458a678849165f0340433ab (patch)
treed09a264ac37f67089b7baeb6003efeaed985119a /DOCS/man/options.rst
parent93d071dbd8fb8b9561e1830754c40f3de87cf3ca (diff)
downloadmpv-af264029483656e04458a678849165f0340433ab.tar.bz2
mpv-af264029483656e04458a678849165f0340433ab.tar.xz
mac: use visible frame rectangle for window geometry calculation
currently we use the whole screen rectangle to calculate the window geometry. this doesn't take the menu bar or the Dock into account. by default use the visible screen rectangle instead. this is also a change in behaviour, since the window can't be placed outside of this rectangle anymore. also add an option to change to the old behaviour, because it can still be useful in certain cases, like placing the window directly underneath the menu bar when used a desktop background. Fixes #8272
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index db3a8db500..c92353a2a6 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -5914,6 +5914,16 @@ The following video options are currently all specific to ``--vo=gpu`` and
macOS only.
+``--macos-geometry-calculation=<visible|whole>``
+ This changes the rectangle which is used to calculate the screen position
+ and size of the window (default: visible). ``visible`` takes the the menu
+ bar and Dock into account and the window is only positioned/sized within the
+ visible screen frame rectangle, ``whole`` takes the whole screen frame
+ rectangle and ignores the menu bar and Dock. Other previous restrictions
+ still apply, like the window can't be placed on top of the menu bar etc.
+
+ macOS only.
+
``--android-surface-size=<WxH>``
Set dimensions of the rendering surface used by the Android gpu context.
Needs to be set by the embedding application if the dimensions change during