diff options
author | Keith Packard <keithp@keithp.com> | 2013-07-25 11:46:17 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-07-26 11:23:27 +1000 |
commit | c4b261d230a8ed7c04a140f65d40af86ea73f2fa (patch) | |
tree | 427976f3eff625009391815005edda23a231a34d /man | |
parent | b6553cdb36c1bd7071d3bf0493216c5483325716 (diff) |
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 <keithp@keithp.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man')
-rw-r--r-- | man/XIQueryVersion.txt | 20 |
1 files changed, 16 insertions, 4 deletions
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. |