[PATCH xserver 07/10] Reorder AxisInfo elements

Daniel Stone daniel at fooishbar.org
Fri Dec 17 09:13:32 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 bada398..264d715 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -213,11 +213,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