input: change dxremaind, dyremaind to floats for better acceleration #9156

X.Org Bug 9156 <http://bugs.freedesktop.org/show_bug.cgi?id=9156>

Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>

(cherry picked from commit 0050165a67)
This commit is contained in:
Simon Thum 2008-05-26 17:56:08 +09:30 committed by Adam Jackson
parent 0617653277
commit ccb373f2fb

View file

@ -160,7 +160,7 @@ typedef struct _ValuatorClassRec {
int *axisVal;
int lastx, lasty; /* last event recorded, not posted to
* client; see dix/devices.c */
int dxremaind, dyremaind; /* for acceleration */
float dxremaind, dyremaind; /* for acceleration */
CARD8 mode;
} ValuatorClassRec, *ValuatorClassPtr;