GetPointerEvents: fix relatively harmless typo

Change !(cp->button || !cp->valuator) to (!cp->button || !cp->valuator).
This commit is contained in:
Daniel Stone 2006-10-08 15:30:24 +03:00 committed by Daniel Stone
parent cfc3e9ede2
commit 84f5d2291c

View File

@ -4866,7 +4866,7 @@ GetPointerEvents(xEvent *events, DeviceIntPtr pDev, int type, int buttons,
if (type != MotionNotify && type != ButtonPress && type != ButtonRelease)
return 0;
if (!pDev->button || (pDev->coreEvents && !(cp->button || !cp->valuator)))
if (!pDev->button || (pDev->coreEvents && (!cp->button || !cp->valuator)))
return 0;
if (pDev->coreEvents)