diff options
author | wm4 <wm4@nowhere> | 2016-04-03 19:41:40 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-03 19:42:07 +0200 |
commit | 2720e60ad00ff7cce1d80724bbd4b2b981748195 (patch) | |
tree | e6b90d12db28e2ad20d18dd07712ba83896a239f | |
parent | c0e13d54a85663ff8ac87d2910f1688978ea1f60 (diff) | |
download | mpv-2720e60ad00ff7cce1d80724bbd4b2b981748195.tar.bz2 mpv-2720e60ad00ff7cce1d80724bbd4b2b981748195.tar.xz |
x11: do not set _NET_WM_BYPASS_COMPOSITOR by default
It's pretty "unfriendly" and causes too many issues. (Probably. At least
they're more obvious to a user than e.g. broken frame timing.)
Potentially we could apply heuristics like applying this only on
fullscreen, but let's not. It's up to the user to configure this to
get best results.
Fixes #2997.
-rw-r--r-- | DOCS/man/options.rst | 4 | ||||
-rw-r--r-- | options/options.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 7921ba6b0d..c1e5d23e09 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2072,8 +2072,8 @@ Window This option might be removed in the future. ``--x11-bypass-compositor=<yes|no>`` - If set to ``yes`` (default), then ask the compositor to unredirect the - mpv window. This uses the ``_NET_WM_BYPASS_COMPOSITOR`` hint. + If set to ``yes``, then ask the compositor to unredirect the mpv window + (default: no). This uses the ``_NET_WM_BYPASS_COMPOSITOR`` hint. Disc Devices diff --git a/options/options.c b/options/options.c index 3446674857..1ae48a6fc2 100644 --- a/options/options.c +++ b/options/options.c @@ -709,7 +709,7 @@ const struct MPOpts mp_default_opts = { .border = 1, .WinID = -1, .window_scale = 1.0, - .x11_bypass_compositor = 1, + .x11_bypass_compositor = 0, .mmcss_profile = "Playback", }, .allow_win_drag = 1, |