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.
This commit is contained in:
Daniel Stone 2006-12-06 20:30:44 +02:00 committed by Daniel Stone
parent edabf45425
commit c458a70d65

View File

@ -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;
}