[PATCH libXi] man: update XIQueryVersion for current server behaviour

Peter Hutterer peter.hutterer at who-t.net
Sun Apr 22 20:34:07 PDT 2012


XIQueryVersion(v1);
XIQueryVersion(v2);

is now ok as long as v1 <= v2.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 man/XIQueryVersion.txt |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/man/XIQueryVersion.txt b/man/XIQueryVersion.txt
index 53118ed..839c18c 100644
--- a/man/XIQueryVersion.txt
+++ b/man/XIQueryVersion.txt
@@ -42,8 +42,12 @@ DESCRIPTION
    cases major_version_inout and minor_version_inout are set to the 
    server's supported version.
 
-   XIQueryVersion can generate a BadValue error.
+   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.
 
+   XIQueryVersion can generate a BadValue error.
 
 EXAMPLES
 --------
-- 
1.7.10



More information about the xorg-devel mailing list