diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-15 14:16:31 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-18 10:53:35 +1000 |
commit | 615545f9cba36ab7732d2325970a7c84b2fa6e8c (patch) | |
tree | 925b1d6ee89ae892c1f5ccc3d73cd86c39dd64ed /man/XGetExtensionVersion.txt | |
parent | 9966ab40b850c780e439f86e165188919f884b64 (diff) |
Switch man pages to asciidoc.
The docbook xml is unreadable and unwritable. Switch everything to asciidoc,
at least thay we we can write man pages without losing sanity.
asciidoc seems to have some issues with __libmansuffix__, so instead we just
use libmansuffix (without underscores).
The current asciidoc version is buggy for multiple man targets (more than
one man page in a single file), so stick a big warning into configure that a
patch is required to the the right asciidoc->docbook conversion.
Many thanks to Dan Nicholson for the Makefile.am.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man/XGetExtensionVersion.txt')
-rw-r--r-- | man/XGetExtensionVersion.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/man/XGetExtensionVersion.txt b/man/XGetExtensionVersion.txt new file mode 100644 index 0000000..3e24fc7 --- /dev/null +++ b/man/XGetExtensionVersion.txt @@ -0,0 +1,50 @@ +XGETEXTENSIONVERSION(libmansuffix) +================================== + +NAME +---- + + XGetExtensionVersion - query the version of the input extension. + +SYNOPSIS +-------- + + #include <X11/extensions/XInput.h> + + XExtensionVersion *XGetExtensionVersion( Display *display, + char *name); + + display + Specifies the connection to the X server. + + name + Specifies the extension to be queried. The input + extension name is definedin the header file XI.h. + +DESCRIPTION +----------- + + The XGetExtensionVersion request is deprecated and should not + be used. Clients issuing a XgetExtensionVersion request will + not be able to use MPX features. The XGetExtensionVersion + request queries the version of the input extension, and returns + an XExtensionVersion structure. This structure contains a + major_version and minor_version number which can be compared + with constants defined in XI.h. Support for additional protocol + requests added to the input extension after its initial release + is indicated by a version number corresponding to the added + requests. Each version contains all the protocol requests + contained by previous versions. + + You should use XFree to free the XExtensionVersion structure. + +STRUCTURES +---------- + + This request returns an XExtensionVersion structure. + + typedef struct { + int present; + short major_version; + short minor_version; + } XExtensionVersion; |