summaryrefslogtreecommitdiff
path: root/src/XIint.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-06-02 13:23:32 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-09-17 06:40:32 +1000
commit00382417331d0b38373796fd31757be9fd3e9971 (patch)
treeafe0ffffa1f3069251a50b00b5c5f26bd6631a9b /src/XIint.h
parent942dd55eb370e0acea3184de78619766a09f7670 (diff)
downloadxorg-lib-libXi-00382417331d0b38373796fd31757be9fd3e9971.tar.gz
Support XI 2.1 internally
Add the required constants to pretend to support XI 2.1. Having named constants for 2.1 seems a bit pointless, so let's just use the numbers directly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src/XIint.h')
-rw-r--r--src/XIint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIint.h b/src/XIint.h
index 8e9cf72..41d99b3 100644
--- a/src/XIint.h
+++ b/src/XIint.h
@@ -20,7 +20,7 @@
#define XInput_Add_DeviceProperties 6
#define XInput_2_0 7
#endif
-
+#define XInput_2_1 8
extern XExtDisplayInfo *XInput_find_display(Display *);