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:
Simon Thum 2009-03-21 18:19:19 +01:00 committed by Peter Hutterer
parent 6c3b633299
commit 9212948461

View File

@ -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;
}