1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-06 15:11:58 +00:00

x11: rename inappropriate --x11-bypass-compositor=never option

This obviously made no sense.
This commit is contained in:
wm4 2016-05-07 12:14:56 +02:00
parent 55846641ea
commit 062493fa7e
2 changed files with 3 additions and 3 deletions

View File

@ -2085,14 +2085,14 @@ Window
This option might be removed in the future.
``--x11-bypass-compositor=<yes|no|fs-only|always>``
``--x11-bypass-compositor=<yes|no|fs-only|never>``
If set to ``yes``, then ask the compositor to unredirect the mpv window
(default: ``fs-only``). This uses the ``_NET_WM_BYPASS_COMPOSITOR`` hint.
``fs-only`` asks the window manager to disable the compositor only in
fullscreen mode,
``always`` asks the window manager to always enable the compositor.
``never`` asks the window manager to never disable the compositor.
Disc Devices

View File

@ -461,7 +461,7 @@ const m_option_t mp_opts[] = {
OPT_CHOICE("x11-netwm", vo.x11_netwm, 0,
({"auto", 0}, {"no", -1}, {"yes", 1})),
OPT_CHOICE("x11-bypass-compositor", vo.x11_bypass_compositor, 0,
({"no", 0}, {"yes", 1}, {"fs-only", 2}, {"always", 3})),
({"no", 0}, {"yes", 1}, {"fs-only", 2}, {"never", 3})),
#endif
#if HAVE_WIN32
OPT_STRING("vo-mmcss-profile", vo.mmcss_profile, M_OPT_FIXED),