summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2014-11-24 22:31:54 +0800
committerRichard Grenville <pyxlcy@gmail.com>2014-11-24 22:31:54 +0800
commit6219569d6cb45be6f2104460e02672dd508e344a (patch)
tree0a8b9a2dc02f3dd6a68ef43ae0f13240310c1686
parent07b75620487436a0e693d3a13354dba346a463f2 (diff)
downloadtdebase-6219569d.tar.gz
tdebase-6219569d.zip
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)
-rw-r--r--compton.c4
1 files 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