mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 07:50:05 +01:00
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:
parent
0617653277
commit
ccb373f2fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue