From: Chase Douglas <[email protected]>
Signed-off-by: Chase Douglas <[email protected]>
---
dix/getevents.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dix/getevents.c b/dix/getevents.c
index 9b5e6df..d2f1025 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -1150,7 +1150,7 @@ GetPointerEvents(EventList *events, DeviceIntPtr pDev,
int type, int buttons,
}
if (valuator_mask_isset(&mask, 1))
{
- scaled = rescaleValuatorAxis(valuator_mask_get(&mask, 0),
+ scaled = rescaleValuatorAxis(valuator_mask_get(&mask, 1),
0.0, &y_frac, NULL,
pDev->valuator->axes + 1,
scr->height);
--
1.7.1
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel