summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-01 09:12:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-01 09:13:22 +1000
commit0d75208a554577d652ca9e2856a4f12b0d720a1f (patch)
tree0948a99ddef41ef788eaf394d934bc496ca3f814 /XI2.h
parent8aff0836afaef4397f9df273cc90edeca1ab9641 (diff)
Move the XI2 index into versions[] over to XI2.h
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/XI2.h b/XI2.h
index 4765853..1347762 100644
--- a/XI2.h
+++ b/XI2.h
@@ -25,6 +25,15 @@
#ifndef _XI2_H_
#define _XI2_H_
+/* Indices into the versions[] array (XExtInt.c). Used as a index to
+ * retrieve the minimum version of XI from _XiCheckExtInit.
+ * For indices 0 to 6 see XI.h */
+#ifndef Dont_Check /* defined in XI.h */
+#define Dont_Check 0
+#endif
+#define XInput_2_0 7
+
+
#define XI_2_Major 2
#define XI_2_Minor 0