GetPointerEvents: fix relatively harmless typo
Change !(cp->button || !cp->valuator) to (!cp->button || !cp->valuator).
This commit is contained in:
parent
cfc3e9ede2
commit
84f5d2291c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user