xserver: Branch 'mpx' - 2 commits

Peter Hutterer whot at kemper.freedesktop.org
Mon May 26 02:53:10 PDT 2008


 hw/xfree86/common/xf86Module.h |    2 +-
 include/inputstr.h             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3a1278907ea8059546c7b9ab0c02714832c693e3
Author: Peter Hutterer <peter at cs.unisa.edu.au>
Date:   Mon May 26 18:01:07 2008 +0930

    xfree86: Bump XINPUT ABI to 3.0.

diff --git a/hw/xfree86/common/xf86Module.h b/hw/xfree86/common/xf86Module.h
index 240155c..78a22ec 100644
--- a/hw/xfree86/common/xf86Module.h
+++ b/hw/xfree86/common/xf86Module.h
@@ -84,7 +84,7 @@ typedef enum {
  */
 #define ABI_ANSIC_VERSION	SET_ABI_VERSION(0, 3)
 #define ABI_VIDEODRV_VERSION	SET_ABI_VERSION(4, 0)
-#define ABI_XINPUT_VERSION	SET_ABI_VERSION(2, 0)
+#define ABI_XINPUT_VERSION	SET_ABI_VERSION(3, 0)
 #define ABI_EXTENSION_VERSION	SET_ABI_VERSION(1, 0)
 #define ABI_FONT_VERSION	SET_ABI_VERSION(0, 5)
 
commit 0050165a67bb462e0bf644a11644ad9d587c62bb
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>

diff --git a/include/inputstr.h b/include/inputstr.h
index 5e745b3..7209b2c 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;
 


More information about the xorg-commit mailing list