summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-06 19:57:17 +0200
committerwm4 <wm4@nowhere>2016-05-06 19:57:17 +0200
commit55846641eac86d55817be20eab00b8256a7e1c9a (patch)
tree0a5ecaad8fab59f4bbbc8208f65f1b6a6b4b0c55 /video/out/x11_common.c
parent7c5188c27eacf4e13238f3621e015518c87bce10 (diff)
downloadmpv-55846641eac86d55817be20eab00b8256a7e1c9a.tar.bz2
mpv-55846641eac86d55817be20eab00b8256a7e1c9a.tar.xz
x11: add --x11-bypass-compositor=always
Also add missing documentation for fs-only, and correct the default.
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r--video/out/x11_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index c42e78c97b..009f7e4bf6 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -959,6 +959,7 @@ static void vo_x11_update_composition_hint(struct vo *vo)
case 0: hint = 0; break; // leave default
case 1: hint = 1; break; // always bypass
case 2: hint = x11->fs ? 1 : 0; break; // bypass in FS
+ case 3: hint = 2; break; // always enable
}
XChangeProperty(x11->display, x11->window, XA(x11,_NET_WM_BYPASS_COMPOSITOR),