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