From 9212948461c5e053abb61fff73ced4a00f138544 Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Sat, 21 Mar 2009 18:19:19 +0100 Subject: [PATCH] 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 --- dix/ptrveloc.c | 6 ------ 1 file changed, 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; }