diff options
author | Simon Thum <simon.thum@gmx.de> | 2009-03-21 18:19:19 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-19 22:16:49 +1000 |
commit | 9212948461c5e053abb61fff73ced4a00f138544 (patch) | |
tree | 82040ecd051e36862f11b068fc0adc7d8ab924f0 | |
parent | 6c3b633299f12051fcf37fb8439f358de876cf03 (diff) |
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>
-rw-r--r-- | dix/ptrveloc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c index a3a04512f..2d6763ee1 100644 --- a/dix/ptrveloc.c +++ b/dix/ptrveloc.c @@ -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; } |