mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-22 01:20:26 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue