[PATCH (v5) xserver 5/8] Input: Reorder AxisInfo elements

Daniel Stone daniel at fooishbar.org
Wed Jan 19 15:11:47 PST 2011

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>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

v5: No changes.

 include/inputstr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/inputstr.h b/include/inputstr.h
index 8291577..a19b9a9 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -257,11 +257,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;

More information about the xorg-devel mailing list