2 .\" Title: xgetextensionversion
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6 .\" Manual: [FIXME: manual]
7 .\" Source: [FIXME: source]
10 .TH "XGETEXTENSIONVERSION" "libmansuffix" "09/23/2011" "[FIXME: source]" "[FIXME: manual]"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 XGetExtensionVersion \- query the version of the input extension\&.
35 #include <X11/extensions/XInput\&.h>
39 XExtensionVersion *XGetExtensionVersion( Display *display,
45 Specifies the connection to the X server\&.
50 Specifies the extension to be queried\&. The input
51 extension name is definedin the header file XI\&.h\&.
59 The XGetExtensionVersion request is deprecated and should not
60 be used in XI2 applications\&. Clients issuing a XGetExtensionVersion
61 request will not be able to use XI2 features\&.
71 The XGetExtensionVersion request queries the version of the input
72 extension, and returns an XExtensionVersion structure\&. This structure
73 contains a major_version and minor_version number which can be compared
74 with constants defined in XI\&.h\&. Support for additional protocol
75 requests added to the input extension after its initial release
76 is indicated by a version number corresponding to the added
77 requests\&. Each version contains all the protocol requests
78 contained by previous versions\&.
88 You should use XFree to free the XExtensionVersion structure\&.
99 This request returns an XExtensionVersion structure\&.