getevents.c patch
Peter Hutterer
mailinglists at who-t.net
Thu Nov 30 14:35:49 PST 2006
Stumbled across this one a while ago. In GetPointerEvents(), x is set
to the value of the y axis.
I don't have absolute positioning devices to test it but it seems
very much like a error.
diff --git a/dix/getevents.c b/dix/getevents.c
index be598bc..41334bd 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -544,7 +544,7 @@ GetPointerEvents(xEvent *events, DeviceI
}
else {
if (pDev->coreEvents)
- x = cp->valuator->lasty;
+ y = cp->valuator->lasty;
else
y = pDev->valuator->lasty;
}
Cheers,
Peter
--
Multi-Pointer X Server
http://wearables.unisa.edu.au/mpx
More information about the xorg
mailing list