From 8e58eab57831515ed6cf4cc04f55db00d431ef84 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 18 Dec 2016 20:11:51 +0100 Subject: struct filter_update: add crtc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cg-darkroom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cg-darkroom.c') diff --git a/src/cg-darkroom.c b/src/cg-darkroom.c index 06655e6..0c07b7d 100644 --- a/src/cg-darkroom.c +++ b/src/cg-darkroom.c @@ -265,7 +265,7 @@ int start(void) for (i = 0, r = 1; i < filters_n; i++) { - if (!(crtc_updates[i].master) || !(crtc_info[i].supported)) + if (!(crtc_updates[i].master) || !(crtc_info[crtc_updates[i].crtc].supported)) continue; if (!xflag) if ((r = fill_filter(&(crtc_updates[i].filter))) < 0) -- cgit v1.2.3-70-g09d2