diff --git a/include/inputstr.h b/include/inputstr.h index 6a1d5c9d7..b1f9856ed 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -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;