summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2014-11-24 22:31:54 +0800
committerSlávek Banko <slavek.banko@axis.cz>2015-01-24 16:05:09 +0100
commita5535fa1eff0c2266d646accc6d19a9c8c0a6eb9 (patch)
tree3360d286cc641a1dea5fbf6e1e23e1929f959749 /twin
parent678558b1e9b892721313a59f3a2c8dc60c288f1d (diff)
downloadtdebase-a5535fa1eff0c2266d646accc6d19a9c8c0a6eb9.tar.gz
tdebase-a5535fa1eff0c2266d646accc6d19a9c8c0a6eb9.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) (cherry picked from commit 6219569d6cb45be6f2104460e02672dd508e344a)
Diffstat (limited to 'twin')
-rw-r--r--twin/compton-tde/compton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/twin/compton-tde/compton.c b/twin/compton-tde/compton.c
index 7b195f5b0..ad310538b 100644
--- a/twin/compton-tde/compton.c
+++ b/twin/compton-tde/compton.c
@@ -4595,8 +4595,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