[RFC PATCH inputproto 2/3] Add define for 2.1 support

Peter Hutterer peter.hutterer at who-t.net
Thu Apr 7 21:28:12 PDT 2011


Technically, this define is rather pointless as long as we refer to XI 2.1
as 2.1. But it comes essentially for free, so why not.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 XI2.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/XI2.h b/XI2.h
index 6ba1377..4c7feb6 100644
--- a/XI2.h
+++ b/XI2.h
@@ -37,6 +37,8 @@
 #define XI_2_Major                              2
 #define XI_2_Minor                              0
 
+#define XI_2_1_Minor                            1
+
 /* Property event flags */
 #define XIPropertyDeleted                       0
 #define XIPropertyCreated                       1
-- 
1.7.4.2



More information about the xorg-devel mailing list