blob: 422e51f2ab61bb6d4aac0eef2a5da22b4b42b7f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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.
|