[PATCH] dix: allow relative motion buffer to accumulate in a natural way

Simon Thum simon.thum at gmx.de
Sat Mar 21 10:19:19 PDT 2009


since with XI2 we pass sub-pixel motion, anything else is broken.
---
 dix/ptrveloc.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index 02089ff..4ee8589 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;
         }
 
-- 
1.6.0.6


--------------040403030807010302020807--


More information about the xorg-devel mailing list