summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-07-18 13:06:38 +0200
committerwm4 <wm4@nowhere>2016-07-18 13:06:38 +0200
commit64cd0f429236be1f0420665f50d39d1bfa021e17 (patch)
treef37c2816566409110759170aa284fbace945a98c /video/out/x11_common.h
parent510c6a1be45fafa04a9136039bee9301078e0c20 (diff)
downloadmpv-64cd0f429236be1f0420665f50d39d1bfa021e17.tar.bz2
mpv-64cd0f429236be1f0420665f50d39d1bfa021e17.tar.xz
x11: skip ICC update on every window move
Don't just cause vo_opengl to update the ICC profile every time the window is moved. Instead, explicitly check if the screen was changed. Mostly untested.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index 812c309afe..67e5ac1f0b 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -57,6 +57,7 @@ struct vo_x11_state {
struct xrandr_display displays[MAX_DISPLAYS];
int num_displays;
+ int current_icc_screen;
int xrandr_event;