0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

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.
This commit is contained in:
wm4 2016-04-03 19:41:40 +02:00
parent c0e13d54a8
commit 2720e60ad0
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,