xserver: Branch 'server-1.5-branch'

Adam Jackson ajax at kemper.freedesktop.org
Tue Jul 1 06:51:54 PDT 2008


 include/inputstr.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ccb373f2fb910db57a3dfcef8a03779f1023470c
Author: Simon Thum <simon.thum at gmx.de>
Date:   Mon May 26 17:56:08 2008 +0930

    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 at cs.unisa.edu.au>
    
    (cherry picked from commit 0050165a67bb462e0bf644a11644ad9d587c62bb)

diff --git a/include/inputstr.h b/include/inputstr.h
index 6a1d5c9..b1f9856 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;
 


More information about the xorg-commit mailing list