summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-12-06 20:30:44 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-12-06 23:24:24 +0200
commitc458a70d650bd62b8f4706f022d1f3f347636db1 (patch)
tree606678263d0219791c2d95298d3f3f0695d8eefb
parentedabf45425f9ed79547f918cc0dfff4c268de386 (diff)
GetPointerEvents: fix typo
Fix typo that resulted in inverted axes when using an absolute positioning device that didn't report y, and thus relied on the previous value.
-rw-r--r--dix/getevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/getevents.c b/dix/getevents.c
index 41542625b..9c4ed0ece 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -540,7 +540,7 @@ GetPointerEvents(xEvent *events, DeviceIntPtr pDev, int type, int buttons,
}
else {
if (pDev->coreEvents)
- x = cp->valuator->lasty;
+ y = cp->valuator->lasty;
else
y = pDev->valuator->lasty;
}