diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2015-11-13 06:16:01 +0100 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2015-11-13 12:41:59 +0100 |
commit | def87f1e5f693ed24b5c8f62e8e86dbaebe4d993 (patch) | |
tree | 261a60c6a3f715d6a8fd2e04b0aef0d68af71dc2 /DOCS/man | |
parent | b726fefe5dce46ac0bf0b7d09155ba1a0760dca9 (diff) | |
download | mpv-def87f1e5f693ed24b5c8f62e8e86dbaebe4d993.tar.bz2 mpv-def87f1e5f693ed24b5c8f62e8e86dbaebe4d993.tar.xz |
win32: avoid detection as exclusive fullscreen window
Apparently Windows treats windows that use OpenGL, cover an entire
screen and have the WS_POPUP style set or are topmost windows as
exclusive fullscreen windows that bypass DWM and cannot be covered
by other windows.
This means we can’t use dwmflush in fullscreen mode, and it also
means that no other window can cover mpv, and it makes the screen
flicker when switching to fullscreen mode.
This can be avoided by not setting the WS_POPUP flag.
Users can still access the old behavior by enabling stay-on-top
(which IMO at least makes sense—now we just need to get dwmflush
autodetection right to avoid nasty surprises).
fixes #2177
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/options.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index adf3f994be..76a4e5a33b 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1737,6 +1737,10 @@ Window ``--ontop`` Makes the player window stay on top of other windows. + On Windows, if combined with fullscreen mode, this causes mpv to be + treated as exclusive fullscreen window that bypasses the Desktop Window + Manager. + ``--border``, ``--no-border`` Play video with window border and decorations. Since this is on by default, use ``--no-border`` to disable the standard window decorations. |