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)
This commit is contained in:
Richard Grenville 2014-11-24 22:31:54 +08:00
parent 5910dbae8a
commit 6d8fde457a
1 changed files with 2 additions and 2 deletions

View File

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