summaryrefslogtreecommitdiff
path: root/man
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 /man
parent94284e40f5fc9bf30cc2cc5915f6adb22de7bffe (diff)
Deprecate XGetExtensionVersion(), replace with XQueryInputVersion().
We need XI to be able to do some sort of versioning support.
Diffstat (limited to 'man')
-rw-r--r--man/XGetExtensionVersion.man19
1 files changed, 18 insertions, 1 deletions
diff --git a/man/XGetExtensionVersion.man b/man/XGetExtensionVersion.man
index 93c4621..098d18f 100644
--- a/man/XGetExtensionVersion.man
+++ b/man/XGetExtensionVersion.man
@@ -15,9 +15,11 @@
.ds xL Programming With Xlib
.TH XGetExtensionVersion __LIB_MAN_SUFFIX__ __xorgversion__ "X FUNCTIONS"
.SH NAME
-XGetExtensionVersion \- query the version of the input extension.
+XQueryInputVersion, XGetExtensionVersion \- query the version of the input extension.
.SH SYNTAX
.HP
+XExtensionVersion *XQueryInputVersion\^(\^Display *\fIdisplay\fP\^, int \fImajor\fP\^, int \fIminor\fP\^);
+.HP
XExtensionVersion *XGetExtensionVersion\^(\^Display *\fIdisplay\fP\^, char
*\fIname\fP\^);
.SH ARGUMENTS
@@ -28,7 +30,22 @@ Specifies the connection to the X server.
.I name
Specifies the extension to be queried. The input extension name is defined
in the header file \fIXI.h\fP.
+.TP 12
+.I major
+Specifies the major version as supported by the client.
+.TP 12
+.I minor
+Specifies the minor version as supported by the client.
.SH DESCRIPTION
+The \fIXQueryInputVersion\fP request queries the version of the input
+extension and returns an \fIXExtensionVersion\fP structure. This structure
+contains a major_version and minor_version number which can be compared
+with constants defined in \fIXI.h\fP. The client must specify the highest
+version numbers it can supports.
+.LP
+The \fIXGetExtensionVersion\fP request is deprecated and should not be used.
+Clients issuing a \fIXgetExtensionVersion\fP request will not be able to use
+MPX features.
The \fIXGetExtensionVersion\fP request queries the version of the input
extension, and returns an \fIXExtensionVersion\fP structure. This structure
contains a major_version and minor_version number which can be compared