diff options
Diffstat (limited to 'man/XIQueryVersion.txt')
-rw-r--r-- | man/XIQueryVersion.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/man/XIQueryVersion.txt b/man/XIQueryVersion.txt new file mode 100644 index 0000000..422e51f --- /dev/null +++ b/man/XIQueryVersion.txt @@ -0,0 +1,45 @@ +XIQUERYVERSION(libmansuffix) +============================ + +NAME +---- + + XIQueryVersion - announce and query the support XI2 version. + +SYNOPSIS +-------- + + #include <X11/extensions/XInput2.h> + + Status XIQueryVersion( Display *display, + int *major_version_inout, + int *minor_version_inout); + + display + Specifies the connection to the X server. + + major_version_inout + Specifies the client's supported XI2 version, and + returns the server's supported version. + + minor_version_inout + Specifies the client's supported XI2 version, and + returns the server's supported version. + +DESCRIPTION +----------- + + XIQueryVersion announces the client's supported XI2 version to + the server and returns server's supported version. The server + may treat a client differently depending on the version support + announced. The major_version_inout must be 2 or greater, + otherwise a BadValue error occurs. + + XIQueryVersion can generate a BadValue error. + +DIAGNOSTICS +----------- + + BadValue + A value is outside of the permitted range. + |