From 6d8fde457a424d65c2a1235c7271a571d54169e0 Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Mon, 24 Nov 2014 22:31:54 +0800 Subject: [PATCH] Bug fix #244: Build failure with -DDEBUG_EVENTS Fix build failure with -DDEBUG_EVENTS, caused by incorrect references to X Sync macros. Thanks to blueyed for reporting. (#244) --- src/compton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compton.c b/src/compton.c index 25c35b6e..7d047373 100644 --- a/src/compton.c +++ b/src/compton.c @@ -3916,8 +3916,8 @@ ev_name(session_t *ps, XEvent *ev) { if (ps->xsync_exists) { int o = ev->type - ps->xsync_event; switch (o) { - CASESTRRET(CounterNotify); - CASESTRRET(AlarmNotify); + CASESTRRET(XSyncCounterNotify); + CASESTRRET(XSyncAlarmNotify); } } #endif