dix: allow relative motion buffer to accumulate in a natural way
Since with XI2 we pass sub-pixel motion, anything else is broken. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6c3b633299
commit
9212948461
|
@ -968,12 +968,6 @@ acceleratePointerPredictable(
|
|||
if (dx || dy){
|
||||
/* reset non-visible state? */
|
||||
if (ProcessVelocityData2D(velocitydata, dx , dy, evtime)) {
|
||||
/* if nv-reset: set to center of pixel.
|
||||
* makes sense as long as there are no means of passing on
|
||||
* sub-pixel values to apps(XI2?). If you remove it, make
|
||||
* sure suitable rounding is applied below.
|
||||
*/
|
||||
pDev->last.remainder[0] = pDev->last.remainder[1] = 0;
|
||||
soften = FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user