diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-03-10 16:54:56 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-03-10 16:54:56 +0000 |
commit | 6614cc560d415f8a333e2b5c4281c489ba7e27c4 (patch) | |
tree | a3eae01ceef1f88277234eb4927736986296c529 /lib/libXtst/man | |
parent | 79350cd673ce7255a7ff74521a0be7a9e5f1ea5a (diff) |
update to libXtst 1.2.1
Diffstat (limited to 'lib/libXtst/man')
-rw-r--r-- | lib/libXtst/man/Makefile.in | 34 | ||||
-rw-r--r-- | lib/libXtst/man/XTest.xml | 36 | ||||
-rw-r--r-- | lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestCompareCursorWithWindow.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestDiscard.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestFakeButtonEvent.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestFakeKeyEvent.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestFakeMotionEvent.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestFakeRelativeMotionEvent.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestGrabControl.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestQueryExtension.man | 284 | ||||
-rw-r--r-- | lib/libXtst/man/XTestSetGContextOfGC.man | 2 | ||||
-rw-r--r-- | lib/libXtst/man/XTestSetVisualIDOfVisual.man | 2 |
13 files changed, 225 insertions, 149 deletions
diff --git a/lib/libXtst/man/Makefile.in b/lib/libXtst/man/Makefile.in index 497c9f24c..e45fdc431 100644 --- a/lib/libXtst/man/Makefile.in +++ b/lib/libXtst/man/Makefile.in @@ -46,9 +46,9 @@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c +install_sh_DATA = ${SHELL} $(install_sh) -c -m 644 +install_sh_PROGRAM = ${SHELL} $(install_sh) -c +install_sh_SCRIPT = ${SHELL} $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : @@ -96,6 +96,7 @@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BASE_CFLAGS = @BASE_CFLAGS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -103,17 +104,14 @@ CHANGELOG_CMD = @CHANGELOG_CMD@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CWARNFLAGS = @CWARNFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ +DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ @@ -121,8 +119,7 @@ EGREP = @EGREP@ ENABLE_SPECS_FALSE = @ENABLE_SPECS_FALSE@ ENABLE_SPECS_TRUE = @ENABLE_SPECS_TRUE@ EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ +FGREP = @FGREP@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FOP = @FOP@ @@ -135,6 +132,8 @@ HAVE_XMLTO_FALSE = @HAVE_XMLTO_FALSE@ HAVE_XMLTO_TEXT_FALSE = @HAVE_XMLTO_TEXT_FALSE@ HAVE_XMLTO_TEXT_TRUE = @HAVE_XMLTO_TEXT_TRUE@ HAVE_XMLTO_TRUE = @HAVE_XMLTO_TRUE@ +HAVE_XSLTPROC_FALSE = @HAVE_XSLTPROC_FALSE@ +HAVE_XSLTPROC_TRUE = @HAVE_XSLTPROC_TRUE@ INSTALL_CMD = @INSTALL_CMD@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_MANPAGES_FALSE = @INSTALL_MANPAGES_FALSE@ @@ -142,6 +141,7 @@ INSTALL_MANPAGES_TRUE = @INSTALL_MANPAGES_TRUE@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ @@ -153,6 +153,7 @@ LINTLIB = @LINTLIB@ LINT_FALSE = @LINT_FALSE@ LINT_FLAGS = @LINT_FLAGS@ LINT_TRUE = @LINT_TRUE@ +LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ @@ -161,11 +162,16 @@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MAKE_LINT_LIB_FALSE = @MAKE_LINT_LIB_FALSE@ MAKE_LINT_LIB_TRUE = @MAKE_LINT_LIB_TRUE@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MAN_SUBSTS = @MAN_SUBSTS@ MISC_MAN_DIR = @MISC_MAN_DIR@ MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ +NM = @NM@ NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ @@ -178,22 +184,22 @@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +STRICT_CFLAGS = @STRICT_CFLAGS@ STRIP = @STRIP@ STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@ VERSION = @VERSION@ XMLTO = @XMLTO@ XORG_MAN_PAGE = @XORG_MAN_PAGE@ XORG_SGML_PATH = @XORG_SGML_PATH@ +XSLTPROC = @XSLTPROC@ XSL_STYLESHEET = @XSL_STYLESHEET@ XTST_CFLAGS = @XTST_CFLAGS@ XTST_LIBS = @XTST_LIBS@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ diff --git a/lib/libXtst/man/XTest.xml b/lib/libXtst/man/XTest.xml index 0c33ed8aa..9d21ef73b 100644 --- a/lib/libXtst/man/XTest.xml +++ b/lib/libXtst/man/XTest.xml @@ -1,24 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" + "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> <!-- lifted from troff+man by doclifter --> <refentry id='XTest.man'> -<!-- +<!-- Copyright © 1992 by UniSoft Group Ltd. Permission to use, copy, modify, and distribute this documentation for any purpose and without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. -UniSoft makes no representations about the suitability for any purpose of +copyright notice and this permission notice appear in all copies. +UniSoft makes no representations about the suitability for any purpose of the information in this document. This documentation is provided "as is" without express or implied warranty. Copyright © 1992, 1994 X Consortium -Permission is hereby granted, free of charge, to any person obtaining a +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in @@ -26,15 +26,15 @@ all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF -OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of the X Consortium shall not -be used in advertising or otherwise to promote the sale, use or other -dealings in this Software without prior written authorization from the +be used in advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization from the X Consortium. --> @@ -207,7 +207,7 @@ cc [ flag ... ] file ... -lXtst [ library ... ] <para>This extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention. This extension is not intended to support general journaling and -playback of user actions.</para> +playback of user actions.</para> <para>The functions provided by this extension fall into two groups:</para> <variablelist remap='IP'> @@ -218,7 +218,7 @@ playback of user actions.</para> actual implementation will depend on the details of the actual language binding and what degree of request buffering, GContext caching, and so on, is provided. In the C binding, routines are provided -to access the internals of two opaque data structures +to access the internals of two opaque data structures — <structname>GC</structname>s and <structname>Visual</structname>s — @@ -236,7 +236,7 @@ number to the server and for the server to respond with major and minor versions of its own. The remaining two requests allow the following:</para> <itemizedlist> <listitem> -<para>Access to an otherwise <emphasis>write-only</emphasis> server resource: +<para>Access to an otherwise <emphasis>write-only</emphasis> server resource: the cursor associated with a given window</para> </listitem> <listitem> @@ -278,12 +278,12 @@ with the cursor of the window specified by window returning <returnvalue>True</returnvalue> if they are the same and <returnvalue>False</returnvalue> -otherwise. +otherwise. If the extension is not supported, then the request is ignored and zero is returned.</para> -<para>If the extension is supported, +<para>If the extension is supported, <function>XTestCompareCurrentCursorWithWindow</function> performs a comparison of the current cursor with the cursor of the specified window returning diff --git a/lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man b/lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man +++ b/lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestCompareCursorWithWindow.man b/lib/libXtst/man/XTestCompareCursorWithWindow.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestCompareCursorWithWindow.man +++ b/lib/libXtst/man/XTestCompareCursorWithWindow.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestDiscard.man b/lib/libXtst/man/XTestDiscard.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestDiscard.man +++ b/lib/libXtst/man/XTestDiscard.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestFakeButtonEvent.man b/lib/libXtst/man/XTestFakeButtonEvent.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestFakeButtonEvent.man +++ b/lib/libXtst/man/XTestFakeButtonEvent.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestFakeKeyEvent.man b/lib/libXtst/man/XTestFakeKeyEvent.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestFakeKeyEvent.man +++ b/lib/libXtst/man/XTestFakeKeyEvent.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestFakeMotionEvent.man b/lib/libXtst/man/XTestFakeMotionEvent.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestFakeMotionEvent.man +++ b/lib/libXtst/man/XTestFakeMotionEvent.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestFakeRelativeMotionEvent.man b/lib/libXtst/man/XTestFakeRelativeMotionEvent.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestFakeRelativeMotionEvent.man +++ b/lib/libXtst/man/XTestFakeRelativeMotionEvent.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestGrabControl.man b/lib/libXtst/man/XTestGrabControl.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestGrabControl.man +++ b/lib/libXtst/man/XTestGrabControl.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestQueryExtension.man b/lib/libXtst/man/XTestQueryExtension.man index 0370bca6f..41da9f325 100644 --- a/lib/libXtst/man/XTestQueryExtension.man +++ b/lib/libXtst/man/XTestQueryExtension.man @@ -1,152 +1,216 @@ -.\" ** You probably do not want to edit this file directly ** -.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). -.\" Instead of manually editing it, you probably should edit the DocBook XML -.\" source for it and then use the DocBook XSL Stylesheets to regenerate it. -.TH "XTEST" "__libmansuffix__" "6 June 2007" "__xorgversion__" "XTST FUNCTIONS" +'\" t +.\" Title: XTest +.\" Author: Kieron Drake +.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> +.\" Date: <pubdate>6 June 2007</pubdate> +.\" Manual: XTST FUNCTIONS +.\" Source: __xorgversion__ +.\" Language: English +.\" +.TH "XTEST" "__libmansuffix__" "<pubdate>6 June 2007</pubdate>" "__xorgversion__" "XTST FUNCTIONS" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- .SH "NAME" XTestQueryExtension, XTestCompareCursorWithWindow, XTestCompareCurrentCursorWithWindow, XTestFakeKeyEvent, XTestFakeButtonEvent, XTestFakeMotionEvent, XTestFakeRelativeMotionEvent, XTestGrabControl, XTestSetGContextOfGC, XTestSetVisualIDOfVisual, XTestDiscard \- XTest extension functions .SH "SYNOPSIS" -.PP -\fB -cc [ flag ... ] file ... \-lXtst [ library ... ] -\fR -.PP -\fB -#include <X11/extensions/XTest.h> -\fR -.HP 25 -\fB\fBBool\fR\ XTestQueryExtension\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIevent_base_return\fR\fR\fB, \fR\fB\fIerror_base_return\fR\fR\fB, \fR\fB\fImajor_version_return\fR\fR\fB, \fR\fB\fIminor_version_return\fR\fR\fB);\fR -.PP -\fB +.sp +.ft B +.nf +cc [ flag \&.\&.\&. ] file \&.\&.\&. \-lXtst [ library \&.\&.\&. ] +.fi +.ft +.sp +.ft B +.nf +#include <X11/extensions/XTest\&.h> +.fi +.ft +.HP \w'Bool\ XTestQueryExtension('u +.BI "Bool XTestQueryExtension(" "display" ", " "event_base_return" ", " "error_base_return" ", " "major_version_return" ", " "minor_version_return" ");" +.sp +.ft B +.nf Display *display; int *event_base_return; int *error_base_return; int *major_version_return; int *minor_version_return; -\fR -.HP 34 -\fB\fBBool\fR\ XTestCompareCursorWithWindow\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIwindow\fR\fR\fB, \fR\fB\fIcursor\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'Bool\ XTestCompareCursorWithWindow('u +.BI "Bool XTestCompareCursorWithWindow(" "display" ", " "window" ", " "cursor" ");" +.sp +.ft B +.nf Display *display; Window window; Cursor cursor; -\fR -.HP 41 -\fB\fBBool\fR\ XTestCompareCurrentCursorWithWindow\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIwindow\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'Bool\ XTestCompareCurrentCursorWithWindow('u +.BI "Bool XTestCompareCurrentCursorWithWindow(" "display" ", " "window" ");" +.sp +.ft B +.nf Display *display; Window window; -\fR -.HP 22 -\fBint\ \fBXTestFakeKeyEvent\fR\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIkeycode\fR\fR\fB, \fR\fB\fIis_press\fR\fR\fB, \fR\fB\fIdelay\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'int\ XTestFakeKeyEvent('u +.BI "int XTestFakeKeyEvent(" "display" ", " "keycode" ", " "is_press" ", " "delay" ");" +.sp +.ft B +.nf Display *display; unsigned int keycode; Bool is_press; unsigned long delay; -\fR -.HP 25 -\fBint\ \fBXTestFakeButtonEvent\fR\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIbutton\fR\fR\fB, \fR\fB\fIis_press\fR\fR\fB, \fR\fB\fIdelay\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'int\ XTestFakeButtonEvent('u +.BI "int XTestFakeButtonEvent(" "display" ", " "button" ", " "is_press" ", " "delay" ");" +.sp +.ft B +.nf Display *display; unsigned int button; Bool is_press; unsigned long delay; -\fR -.HP 25 -\fBint\ \fBXTestFakeMotionEvent\fR\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIscreen_number\fR\fR\fB, \fR\fB\fIx\fR\fR\fB, \fR\fB\fIy\fR\fR\fB, \fR\fB\fIdelay\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'int\ XTestFakeMotionEvent('u +.BI "int XTestFakeMotionEvent(" "display" ", " "screen_number" ", " "x" ", " "y" ", " "delay" ");" +.sp +.ft B +.nf Display *display; int screen_number; int x, y; unsigned long delay; -\fR -.HP 33 -\fBint\ \fBXTestFakeRelativeMotionEvent\fR\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIscreen_number\fR\fR\fB, \fR\fB\fIx\fR\fR\fB, \fR\fB\fIy\fR\fR\fB, \fR\fB\fIdelay\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'int\ XTestFakeRelativeMotionEvent('u +.BI "int XTestFakeRelativeMotionEvent(" "display" ", " "screen_number" ", " "x" ", " "y" ", " "delay" ");" +.sp +.ft B +.nf Display *display; int screen_number; int x, y; unsigned long delay; -\fR -.HP 21 -\fBint\ \fBXTestGrabControl\fR\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIimpervious\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'int\ XTestGrabControl('u +.BI "int XTestGrabControl(" "display" ", " "impervious" ");" +.sp +.ft B +.nf Display *display; Bool impervious; -\fR -.HP 26 -\fBvoid\ \fBXTestSetGContextOfGC\fR\fR\fB(\fR\fB\fIgc\fR\fR\fB, \fR\fB\fIgid\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'void\ XTestSetGContextOfGC('u +.BI "void XTestSetGContextOfGC(" "gc" ", " "gid" ");" +.sp +.ft B +.nf GC gc; GContext gid; -\fR -.HP 30 -\fBvoid\ \fBXTestSetVisualIDOfVisual\fR\fR\fB(\fR\fB\fIvisual\fR\fR\fB, \fR\fB\fIvisualid\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'void\ XTestSetVisualIDOfVisual('u +.BI "void XTestSetVisualIDOfVisual(" "visual" ", " "visualid" ");" +.sp +.ft B +.nf Visual *visual; VisualID visualid; -\fR -.HP 20 -\fB\fBStatus\fR\ XTestDiscard\fR\fB(\fR\fB\fIdisplay\fR\fR\fB);\fR -.PP -\fB +.fi +.ft +.HP \w'Status\ XTestDiscard('u +.BI "Status XTestDiscard(" "display" ");" +.sp +.ft B +.nf Display *display; -\fR +.fi +.ft .SH "DESCRIPTION" .PP -This extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention. This extension is not intended to support general journaling and playback of user actions. +This extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention\&. This extension is not intended to support general journaling and playback of user actions\&. .PP The functions provided by this extension fall into two groups: -.TP -\fIClient Operations\fR -These routines manipulate otherwise hidden client\-side behavior. The actual implementation will depend on the details of the actual language binding and what degree of request buffering, GContext caching, and so on, is provided. In the C binding, routines are provided to access the internals of two opaque data structures \(em +.PP +\fBClient Operations\fR +.RS 4 +These routines manipulate otherwise hidden client\-side behavior\&. The actual implementation will depend on the details of the actual language binding and what degree of request buffering, GContext caching, and so on, is provided\&. In the C binding, routines are provided to access the internals of two opaque data structures \(em GCs and -Visuals \(em and to discard any requests pending within the output buffer of a connection. The exact details can be expected to differ for other language bindings. -.TP -\fIServer Requests\fR -The first of these requests is similar to that provided in most extensions: it allows a client to specify a major and minor version number to the server and for the server to respond with major and minor versions of its own. The remaining two requests allow the following: -.RS -.TP 3 -\(bu +Visuals \(em and to discard any requests pending within the output buffer of a connection\&. The exact details can be expected to differ for other language bindings\&. +.RE +.PP +\fBServer Requests\fR +.RS 4 +The first of these requests is similar to that provided in most extensions: it allows a client to specify a major and minor version number to the server and for the server to respond with major and minor versions of its own\&. The remaining two requests allow the following: +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} Access to an otherwise \fIwrite\-only\fR server resource: the cursor associated with a given window -.TP -\(bu -Perhaps most importantly, limited synthesis of input device events, almost as if a cooperative user had moved the pointing device or pressed a key or button. +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +Perhaps most importantly, limited synthesis of input device events, almost as if a cooperative user had moved the pointing device or pressed a key or button\&. +.RE .RE .PP All XTEST extension functions and procedures, and all manifest constants and macros, will start with the string -\fIXTest\fR. All operations are classified as server/client (Server) or client\-only (Client). +\fIXTest\fR\&. All operations are classified as server/client (Server) or client\-only (Client)\&. .PP \fBXTestQueryExtension\fR returns True if the specified display supports the XTEST extension, else -False. If the extension is supported, *event_base would be set to the event number for the first event for this extension and *error_base would be set to the error number for the first error for this extension. As no errors or events are defined for this version of the extension, the values returned here are not defined (nor useful). If the extension is supported, *major_version and *minor_version are set to the major and minor version numbers of the extension supported by the display. Otherwise, none of the arguments are set. +False\&. If the extension is supported, *event_base would be set to the event number for the first event for this extension and *error_base would be set to the error number for the first error for this extension\&. As no errors or events are defined for this version of the extension, the values returned here are not defined (nor useful)\&. If the extension is supported, *major_version and *minor_version are set to the major and minor version numbers of the extension supported by the display\&. Otherwise, none of the arguments are set\&. .PP If the extension is supported, \fBXTestCompareCursorWithWindow\fR performs a comparison of the cursor whose ID is specified by cursor (which may be -\fINone\fR) with the cursor of the window specified by window returning +\fBNone\fR) with the cursor of the window specified by window returning True if they are the same and False -otherwise. If the extension is not supported, then the request is ignored and zero is returned. +otherwise\&. If the extension is not supported, then the request is ignored and zero is returned\&. .PP If the extension is supported, \fBXTestCompareCurrentCursorWithWindow\fR @@ -154,65 +218,71 @@ performs a comparison of the current cursor with the cursor of the specified win True if they are the same and False -otherwise. If the extension is not supported, then the request is ignored and zero is returned. +otherwise\&. If the extension is not supported, then the request is ignored and zero is returned\&. .PP If the extension is supported, \fBXTestFakeKeyEvent\fR requests the server to simulate either a -\fIKeyPress\fR +\fBKeyPress\fR (if is_press is True) or a -\fIKeyRelease\fR +\fBKeyRelease\fR (if is_press is -False) of the key with the specified keycode; otherwise, the request is ignored. +False) of the key with the specified keycode; otherwise, the request is ignored\&. .PP If the extension is supported, the simulated event will not be processed until delay milliseconds after the request is received (if delay is -\fICurrentTime\fR, then this is interpreted as no delay at all). No other requests from this client will be processed until this delay, if any, has expired and subsequent processing of the simulated event has been completed. +\fBCurrentTime\fR, then this is interpreted as no delay at all)\&. No other requests from this client will be processed until this delay, if any, has expired and subsequent processing of the simulated event has been completed\&. .PP If the extension is supported, \fBXTestFakeButtonEvent\fR requests the server to simulate either a -\fIButtonPress\fR +\fBButtonPress\fR (if is_press is True) or a -\fIButtonRelease\fR +\fBButtonRelease\fR (if is_press is -False) of the logical button numbered by the specified button; otherwise, the request is ignored. +False) of the logical button numbered by the specified button; otherwise, the request is ignored\&. .PP If the extension is supported, the simulated event will not be processed until delay milliseconds after the request is received (if delay is -\fICurrentTime\fR, then this is interpreted as no delay at all). No other requests from this client will be processed until this delay, if any, has expired and subsequent processing of the simulated event has been completed. +\fBCurrentTime\fR, then this is interpreted as no delay at all)\&. No other requests from this client will be processed until this delay, if any, has expired and subsequent processing of the simulated event has been completed\&. .PP If the extension is supported, \fBXTestFakeMotionEvent\fR -requests the server to simulate a movement of the pointer to the specified position (x, y) on the root window of screen_number; otherwise, the request is ignored. If screen_number is \-1, the current screen (that the pointer is on) is used. +requests the server to simulate a movement of the pointer to the specified position (x, y) on the root window of screen_number; otherwise, the request is ignored\&. If screen_number is \-1, the current screen (that the pointer is on) is used\&. .PP If the extension is supported, the simulated event will not be processed until delay milliseconds after the request is received (if delay is -\fICurrentTime\fR, then this is interpreted as no delay at all). No other requests from this client will be processed until this delay, if any, has expired and subsequent processing of the simulated event has been completed. +\fBCurrentTime\fR, then this is interpreted as no delay at all)\&. No other requests from this client will be processed until this delay, if any, has expired and subsequent processing of the simulated event has been completed\&. .PP If the extension is supported, \fBXTestFakeRelativeMotionEvent\fR -requests the server to simulate a movement of the pointer by the specified offsets (x, y) relative to the current pointer position on screen_number; otherwise, the request is ignored. If screen_number is \-1, the current screen (that the pointer is on) is used. +requests the server to simulate a movement of the pointer by the specified offsets (x, y) relative to the current pointer position on screen_number; otherwise, the request is ignored\&. If screen_number is \-1, the current screen (that the pointer is on) is used\&. .PP If the extension is supported, the simulated event will not be processed until delay milliseconds after the request is received (if delay is -\fICurrentTime\fR, then this is interpreted as no delay at all). No other requests from this client will be processed until this delay, if any, has expired and subsequent processing of the simulated event has been completed. +\fBCurrentTime\fR, then this is interpreted as no delay at all)\&. No other requests from this client will be processed until this delay, if any, has expired and subsequent processing of the simulated event has been completed\&. .PP If impervious is -True, then the executing client becomes impervious to server grabs. If impervious is -False, then the executing client returns to the normal state of being susceptible to server grabs. +True, then the executing client becomes impervious to server grabs\&. If impervious is +False, then the executing client returns to the normal state of being susceptible to server grabs\&. .PP \fBXTestSetGContextOfGC\fR -sets the GContext within the opaque datatype referenced by gc to be that specified by gid. +sets the GContext within the opaque datatype referenced by gc to be that specified by gid\&. .PP \fBXTestSetVisualIDOfVisual\fR -sets the VisualID within the opaque datatype referenced by visual to be that specified by visualid. +sets the VisualID within the opaque datatype referenced by visual to be that specified by visualid\&. .PP \fBXTestDiscard\fR -discards any requests within the output buffer for the specified display. It returns +discards any requests within the output buffer for the specified display\&. It returns True if any requests were discarded; otherwise, it returns -False. +False\&. .SH "RETURN VALUES" .PP -All routines that have return type Status will return nonzero for success and zero for failure. Even if the XTEST extension is supported, the server may withdraw such facilities arbitrarily; in which case they will subsequently return zero. +All routines that have return type Status will return nonzero for success and zero for failure\&. Even if the XTEST extension is supported, the server may withdraw such facilities arbitrarily; in which case they will subsequently return zero\&. .SH "AUTHOR" -Kieron Drake. +.PP +\fBKieron Drake\fR +.br +UniSoft Ltd\&. +.RS 4 +Author. +.RE diff --git a/lib/libXtst/man/XTestSetGContextOfGC.man b/lib/libXtst/man/XTestSetGContextOfGC.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestSetGContextOfGC.man +++ b/lib/libXtst/man/XTestSetGContextOfGC.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestSetVisualIDOfVisual.man b/lib/libXtst/man/XTestSetVisualIDOfVisual.man index 7d905aaa4..437303939 100644 --- a/lib/libXtst/man/XTestSetVisualIDOfVisual.man +++ b/lib/libXtst/man/XTestSetVisualIDOfVisual.man @@ -1 +1 @@ -.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ +.so XTestQueryExtension.__libmansuffix__ |