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:
parent
edabf45425
commit
c458a70d65
|
@ -540,7 +540,7 @@ GetPointerEvents(xEvent *events, DeviceIntPtr pDev, int type, int buttons,
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (pDev->coreEvents)
|
if (pDev->coreEvents)
|
||||||
x = cp->valuator->lasty;
|
y = cp->valuator->lasty;
|
||||||
else
|
else
|
||||||
y = pDev->valuator->lasty;
|
y = pDev->valuator->lasty;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user