From ccb373f2fb910db57a3dfcef8a03779f1023470c 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 (cherry picked from commit 0050165a67bb462e0bf644a11644ad9d587c62bb) --- include/inputstr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;