--- include/inputstr.h.old 2008-01-19 21:29:13.000000000 -0500 +++ include/inputstr.h 2008-01-19 21:29:29.000000000 -0500 @@ -159,7 +159,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;