summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-04-26 17:07:39 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-04-27 16:31:52 +0930
commitc142891001e53b3c9d1d4a0cfcb0ff555c2f0070 (patch)
tree788b0ac42f52fbab4c896c71a6c928a4b1785c9f /include
parent94284e40f5fc9bf30cc2cc5915f6adb22de7bffe (diff)
Deprecate XGetExtensionVersion(), replace with XQueryInputVersion().
We need XI to be able to do some sort of versioning support.
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/XInput.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/X11/extensions/XInput.h b/include/X11/extensions/XInput.h
index 72e729d..e30762b 100644
--- a/include/X11/extensions/XInput.h
+++ b/include/X11/extensions/XInput.h
@@ -1218,11 +1218,18 @@ extern void XFreeDeviceState(
XDeviceState* /* list */
);
-extern XExtensionVersion *XGetExtensionVersion(
+/* Replaced by XQueryInputVersion */
+extern _X_DEPRECATED XExtensionVersion *XGetExtensionVersion(
Display* /* display */,
_Xconst char* /* name */
);
+extern XExtensionVersion *XQueryInputVersion(
+ Display* /* display */,
+ int /* major */,
+ int /* minor */
+);
+
extern XDeviceInfo *XListInputDevices(
Display* /* display */,
int* /* ndevices */