Debian Codegraph @

man/XGetExtensionVersion.txt

raw
1 XGETEXTENSIONVERSION(libmansuffix)
2 ==================================
3
4 NAME
5 ----
6
7 XGetExtensionVersion - query the version of the input extension.
8
9 SYNOPSIS
10 --------
11
12 #include <X11/extensions/XInput.h>
13
14 XExtensionVersion *XGetExtensionVersion( Display *display,
15 char *name);
16
17 display
18 Specifies the connection to the X server.
19
20 name
21 Specifies the extension to be queried. The input
22 extension name is defined in the header file XI.h.
23
24 DESCRIPTION
25 -----------
26
27 The XGetExtensionVersion request is deprecated and should not
28 be used in XI2 applications. Clients issuing a XGetExtensionVersion
29 request will not be able to use XI2 features.
30
31 The XGetExtensionVersion request queries the version of the input
32 extension, and returns an XExtensionVersion structure. This structure
33 contains a major_version and minor_version number which can be compared
34 with constants defined in XI.h. Support for additional protocol
35 requests added to the input extension after its initial release
36 is indicated by a version number corresponding to the added
37 requests. Each version contains all the protocol requests
38 contained by previous versions.
39
40 You should use XFree to free the XExtensionVersion structure.
41
42 STRUCTURES
43 ----------
44
45 This request returns an XExtensionVersion structure.
46
47 typedef struct {
48 int present;
49 short major_version;
50 short minor_version;
51 } XExtensionVersion;