aboutsummaryrefslogtreecommitdiffstats
path: root/src/cg-negative.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cg-negative.c')
-rw-r--r--src/cg-negative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cg-negative.c b/src/cg-negative.c
index a16695a..836a876 100644
--- a/src/cg-negative.c
+++ b/src/cg-negative.c
@@ -205,7 +205,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)
fill_filter(&(crtc_updates[i].filter));