mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
GetPointerEvents: fix relatively harmless typo
Change !(cp->button || !cp->valuator) to (!cp->button || !cp->valuator).
This commit is contained in:
committed by
Daniel Stone
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)
|
||||
|
||||
Reference in New Issue
Block a user