summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-08 15:30:24 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-08 15:30:24 +0300
commit84f5d2291c1fe92fd8358e999e909bf3aab86c98 (patch)
treea8ab37f52039c9beaf73aebbcfec948d86b61141
parentcfc3e9ede2dc83741bd38bf3df13f096ecb8adc0 (diff)
GetPointerEvents: fix relatively harmless typo
Change !(cp->button || !cp->valuator) to (!cp->button || !cp->valuator).
-rw-r--r--dix/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index c95a942a7..07cf03f47 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -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)