[PATCH xserver 14/17] Input: Reorder AxisInfo elements

Daniel Stone daniel at fooishbar.org
Tue Dec 28 09:58:05 PST 2010


From: Chase Douglas <chase.douglas at canonical.com>

Reorder elements so they can be uniform with the upcoming TouchAxisInfo
elements required for coordinate scaling.

Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
Reviewed-by: Daniel Stone <daniel at fooishbar.org>
---
 include/inputstr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/inputstr.h b/include/inputstr.h
index 159d7f6..7de7405 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -254,11 +254,11 @@ typedef struct _KeyClassRec {
 
 typedef struct _AxisInfo {
     int		resolution;
-    int		min_resolution;
-    int		max_resolution;
     int		min_value;
     int		max_value;
     Atom	label;
+    int		min_resolution;
+    int		max_resolution;
     CARD8	mode;
 } AxisInfo, *AxisInfoPtr;
 
-- 
1.7.2.3



More information about the xorg-devel mailing list