diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-08-12 14:24:26 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-20 10:17:51 +1000 |
commit | 7a30bc136fb6c1561f5cd91606bca01fb877f167 (patch) | |
tree | 1c9aa05345828d8951cd3e142e502084b5f6bbe1 | |
parent | e423bfa6045a2b2eeb02080ae39dbee44e062bfa (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>
(cherry picked from commit ca73cd3b7630e7eb7d26c61c4af10d35dbce5465)
-rw-r--r-- | src/XExtInt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c index a5e70b5..63afb8f 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -268,7 +268,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} }; /*********************************************************************** |