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 6219569d6c)
pull/182/head
Richard Grenville 10 years ago committed by Slávek Banko
parent 678558b1e9
commit a5535fa1ef

@ -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

Loading…
Cancel
Save