Skip to content

Commit

Permalink
x11: do not set _NET_WM_BYPASS_COMPOSITOR by default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wm4 committed Apr 3, 2016
1 parent c0e13d5 commit 2720e60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DOCS/man/options.rst
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion options/options.c
Expand Up @@ -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,
Expand Down

0 comments on commit 2720e60

Please sign in to comment.