From c4b261d230a8ed7c04a140f65d40af86ea73f2fa Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 25 Jul 2013 11:46:17 -0700 Subject: man: Update XIQueryVersion docs to match new version compatibility semantics The X server now allows clients to specify any combination of versions starting with version 2.2, document how that works. Signed-off-by: Keith Packard Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- man/XIQueryVersion.txt | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/XIQueryVersion.txt b/man/XIQueryVersion.txt index 839c18c..bb2cbb3 100644 --- a/man/XIQueryVersion.txt +++ b/man/XIQueryVersion.txt @@ -42,10 +42,22 @@ DESCRIPTION cases major_version_inout and minor_version_inout are set to the server's supported version. - Consecutive calls to XIQueryVersion by the same client always return the - first returned major.minor version. If the client requests a version - lower than the first returned major.minor version in a subsequent call, a - BadValue error occurs. + If the client has previously called XIQueryVersion, then the result + depends on the previously requested version and the currently + requested version. + + If either the previous or current requested versions is less than + 2.2, or if the requested major version numbers do not match, then + consecutive calls to XIQueryVersion by the same client always + return the first returned major.minor version. If the client + requests a version lower than the first returned major.minor + version in a subsequent call, a BadValue error occurs. + + If all of the requested versions are 2.2 or greater, then + consecutive calls to XIQueryVersion by the same client with the + same major version will return the requested version, but the server + will operate according to the highest requested version number or + the highest supported version, whichever is lower. XIQueryVersion can generate a BadValue error. -- cgit v1.2.1