From 0050165a67bb462e0bf644a11644ad9d587c62bb Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Mon, 26 May 2008 17:56:08 +0930 Subject: [PATCH] input: change dxremaind, dyremaind to floats for better acceleration #9156 X.Org Bug 9156 Signed-off-by: Peter Hutterer --- include/inputstr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/inputstr.h b/include/inputstr.h index 5e745b356..7209b2cb3 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -174,7 +174,7 @@ typedef struct _ValuatorClassRec { AxisInfoPtr axes; unsigned short numAxes; int *axisVal; /* always absolute, but device-coord system */ - int dxremaind, dyremaind; /* for acceleration */ + float dxremaind, dyremaind; /* for acceleration */ CARD8 mode; } ValuatorClassRec, *ValuatorClassPtr;