summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-08-12 14:24:26 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-08-12 14:44:16 +1000
commitca73cd3b7630e7eb7d26c61c4af10d35dbce5465 (patch)
treeb17acd30e84604558bb6fe7ab37f4c945ee84a16 /src
parent5a299d1731d3db16ccdd3a66246c81ca522f1702 (diff)
Don't use the protocol defines for 2.0 versioning.
Otherwise we run into the old problem again: recompiling libXi against newer inputproto headers will appear to change the version support, potentially causing errors or other misbehaviours. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src')
-rw-r--r--src/XExtInt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c
index 32df6f9..86a780e 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -270,7 +270,7 @@ static XExtensionVersion versions[] = { {XI_Absent, 0, 0},
XI_Add_DevicePresenceNotify_Minor},
{XI_Present, XI_Add_DeviceProperties_Major,
XI_Add_DeviceProperties_Minor},
-{XI_Present, XI_2_Major, XI_2_Minor}
+{XI_Present, 2, 0}
};
/***********************************************************************