mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 10:40:29 +01:00
GetPointerEvents: fix relatively harmless typo
Change !(cp->button || !cp->valuator) to (!cp->button || !cp->valuator).
This commit is contained in:
parent
cfc3e9ede2
commit
84f5d2291c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue