From 64cd0f429236be1f0420665f50d39d1bfa021e17 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 18 Jul 2016 13:06:38 +0200 Subject: 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. --- video/out/x11_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/x11_common.h') 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; -- cgit v1.2.3