From 6219569d6cb45be6f2104460e02672dd508e344a 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) --- compton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compton.c b/compton.c index 25c35b6ee..7d047373b 100644 --- a/compton.c +++ b/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