From a2a16facfc83e58759cfd0c3722090c2d8bbe2df Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 18 Sep 2007 21:24:31 +0000 Subject: libXtst 1.0.3 --- lib/libXtst/COPYING | 70 +++- lib/libXtst/man/Makefile.am | 86 ++++ lib/libXtst/man/Makefile.in | 451 +++++++++++++++++++++ lib/libXtst/man/XTest.xml | 414 +++++++++++++++++++ .../man/XTestCompareCurrentCursorWithWindow.man | 1 + lib/libXtst/man/XTestCompareCursorWithWindow.man | 1 + lib/libXtst/man/XTestDiscard.man | 1 + lib/libXtst/man/XTestFakeButtonEvent.man | 1 + lib/libXtst/man/XTestFakeKeyEvent.man | 1 + lib/libXtst/man/XTestFakeMotionEvent.man | 1 + lib/libXtst/man/XTestFakeRelativeMotionEvent.man | 1 + lib/libXtst/man/XTestGrabControl.man | 1 + lib/libXtst/man/XTestQueryExtension.man | 218 ++++++++++ lib/libXtst/man/XTestSetGContextOfGC.man | 1 + lib/libXtst/man/XTestSetVisualIDOfVisual.man | 1 + 15 files changed, 1241 insertions(+), 8 deletions(-) create mode 100644 lib/libXtst/man/Makefile.am create mode 100644 lib/libXtst/man/Makefile.in create mode 100644 lib/libXtst/man/XTest.xml create mode 100644 lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man create mode 100644 lib/libXtst/man/XTestCompareCursorWithWindow.man create mode 100644 lib/libXtst/man/XTestDiscard.man create mode 100644 lib/libXtst/man/XTestFakeButtonEvent.man create mode 100644 lib/libXtst/man/XTestFakeKeyEvent.man create mode 100644 lib/libXtst/man/XTestFakeMotionEvent.man create mode 100644 lib/libXtst/man/XTestFakeRelativeMotionEvent.man create mode 100644 lib/libXtst/man/XTestGrabControl.man create mode 100644 lib/libXtst/man/XTestQueryExtension.man create mode 100644 lib/libXtst/man/XTestSetGContextOfGC.man create mode 100644 lib/libXtst/man/XTestSetVisualIDOfVisual.man (limited to 'lib/libXtst') diff --git a/lib/libXtst/COPYING b/lib/libXtst/COPYING index 7f33cbfd2..30117108b 100644 --- a/lib/libXtst/COPYING +++ b/lib/libXtst/COPYING @@ -1,12 +1,66 @@ -This is a stub file. This package has not yet had its complete licensing -information compiled. Please see the individual source files for details on -your rights to use and modify this software. +Copyright 1990, 1991 by UniSoft Group Limited +Copyright 1992, 1993, 1995, 1998 The Open Group -Please submit updated COPYING files to the Xorg bugzilla: +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. -https://bugs.freedesktop.org/enter_bug.cgi?product=xorg +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. -All licensing questions regarding this software should be directed at the -Xorg mailing list: +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 OPEN GROUP 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 SOFTWARE. -http://lists.freedesktop.org/mailman/listinfo/xorg +Except as contained in this notice, the name of The Open Group 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 Open Group. + +*************************************************************************** + +Copyright 1995 Network Computing Devices + +Permission to use, copy, modify, distribute, and sell this software and +its documentation for any purpose is hereby granted without fee, provided +that the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of Network Computing Devices +not be used in advertising or publicity pertaining to distribution +of the software without specific, written prior permission. + +NETWORK COMPUTING DEVICES DISCLAIMs ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING +OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +*************************************************************************** + +Copyright 2005 Red Hat, Inc. + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of Red Hat not be used in +advertising or publicity pertaining to distribution of the software without +specific, written prior permission. Red Hat makes no +representations about the suitability of this software for any purpose. It +is provided "as is" without express or implied warranty. + +RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/lib/libXtst/man/Makefile.am b/lib/libXtst/man/Makefile.am new file mode 100644 index 000000000..845061f86 --- /dev/null +++ b/lib/libXtst/man/Makefile.am @@ -0,0 +1,86 @@ +# +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation. +# +# The above copyright notice and this permission notice shall be included +# in 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 OPEN GROUP 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 SOFTWARE. +# +# Except as contained in this notice, the name of the copyright holders 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 copyright holders. +# + +libmandir = $(LIB_MAN_DIR) + +LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%) + +libman_xml = $(srcdir)/XTest.xml + +XTest_manpages = \ + XTestQueryExtension \ + XTestCompareCursorWithWindow \ + XTestCompareCurrentCursorWithWindow \ + XTestFakeKeyEvent \ + XTestFakeButtonEvent \ + XTestFakeMotionEvent \ + XTestFakeRelativeMotionEvent \ + XTestGrabControl \ + XTestSetGContextOfGC \ + XTestSetVisualIDOfVisual \ + XTestDiscard + +libman_PRE = $(XTest_manpages:%=%.man) + +EXTRA_DIST = $(libman_PRE) $(libman_xml) + +CLEANFILES = $(libman_DATA) $(BUILT_SOURCES) + +MAINTAINERCLEANFILES = $(libman_PRE) + +libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) + +SED = sed + +# Strings to replace in man pages +XORGRELSTRING = @PACKAGE_STRING@ + XORGMANNAME = X Version 11 + +MAN_SUBSTS = \ + -e 's/__xorgversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/' \ + -e 's/__xservername__/Xorg/g' \ + -e 's/__xconfigfile__/xorg.conf/g' \ + -e 's/__appmansuffix__/$(APP_MAN_SUFFIX)/g' \ + -e 's/__libmansuffix__/$(LIB_MAN_SUFFIX)/g' \ + -e 's/__filemansuffix__/$(FILE_MAN_SUFFIX)/g' + +SUFFIXES = .$(LIB_MAN_SUFFIX) .man + +.man.$(LIB_MAN_SUFFIX): + sed $(MAN_SUBSTS) < $< > $@ + +# Generate nroff sources from DocBook/xml + +dist-hook: $(libman_PRE) + +if HAVE_XMLTO +$(libman_PRE): $(libman_xml) + $(XMLTO) man $(libman_xml) + for m in $(XTest_manpages); do \ + mv -f $$m.__libmansuffix__ $$m.man ; \ + done + +endif HAVE_XMLTO diff --git a/lib/libXtst/man/Makefile.in b/lib/libXtst/man/Makefile.in new file mode 100644 index 000000000..74df529c6 --- /dev/null +++ b/lib/libXtst/man/Makefile.in @@ -0,0 +1,451 @@ +# Makefile.in generated by automake 1.10 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation. +# +# The above copyright notice and this permission notice shall be included +# in 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 OPEN GROUP 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 SOFTWARE. +# +# Except as contained in this notice, the name of the copyright holders 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 copyright holders. +# + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = man +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(libmandir)" +libmanDATA_INSTALL = $(INSTALL_DATA) +DATA = $(libman_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ADMIN_MAN_DIR = @ADMIN_MAN_DIR@ +ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@ +AMTAR = @AMTAR@ +APP_MAN_DIR = @APP_MAN_DIR@ +APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ +DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FILE_MAN_DIR = @FILE_MAN_DIR@ +FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIB_MAN_DIR = @LIB_MAN_DIR@ +LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ +LINT = @LINT@ +LINTLIB = @LINTLIB@ +LINT_FLAGS = @LINT_FLAGS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MISC_MAN_DIR = @MISC_MAN_DIR@ +MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ +MKDIR_P = @MKDIR_P@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XMLTO = @XMLTO@ +XTST_CFLAGS = @XTST_CFLAGS@ +XTST_LIBS = @XTST_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +libmandir = $(LIB_MAN_DIR) +LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%) +libman_xml = $(srcdir)/XTest.xml +XTest_manpages = \ + XTestQueryExtension \ + XTestCompareCursorWithWindow \ + XTestCompareCurrentCursorWithWindow \ + XTestFakeKeyEvent \ + XTestFakeButtonEvent \ + XTestFakeMotionEvent \ + XTestFakeRelativeMotionEvent \ + XTestGrabControl \ + XTestSetGContextOfGC \ + XTestSetVisualIDOfVisual \ + XTestDiscard + +libman_PRE = $(XTest_manpages:%=%.man) +EXTRA_DIST = $(libman_PRE) $(libman_xml) +CLEANFILES = $(libman_DATA) $(BUILT_SOURCES) +MAINTAINERCLEANFILES = $(libman_PRE) +libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) +SED = sed + +# Strings to replace in man pages +XORGRELSTRING = @PACKAGE_STRING@ +XORGMANNAME = X Version 11 +MAN_SUBSTS = \ + -e 's/__xorgversion__/"$(XORGRELSTRING)" "$(XORGMANNAME)"/' \ + -e 's/__xservername__/Xorg/g' \ + -e 's/__xconfigfile__/xorg.conf/g' \ + -e 's/__appmansuffix__/$(APP_MAN_SUFFIX)/g' \ + -e 's/__libmansuffix__/$(LIB_MAN_SUFFIX)/g' \ + -e 's/__filemansuffix__/$(FILE_MAN_SUFFIX)/g' + +SUFFIXES = .$(LIB_MAN_SUFFIX) .man +all: all-am + +.SUFFIXES: +.SUFFIXES: .$(LIB_MAN_SUFFIX) .man +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu man/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-libmanDATA: $(libman_DATA) + @$(NORMAL_INSTALL) + test -z "$(libmandir)" || $(MKDIR_P) "$(DESTDIR)$(libmandir)" + @list='$(libman_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(libmanDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(libmandir)/$$f'"; \ + $(libmanDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(libmandir)/$$f"; \ + done + +uninstall-libmanDATA: + @$(NORMAL_UNINSTALL) + @list='$(libman_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(libmandir)/$$f'"; \ + rm -f "$(DESTDIR)$(libmandir)/$$f"; \ + done +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(libmandir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-libmanDATA + +install-dvi: install-dvi-am + +install-exec-am: + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libmanDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + dist-hook distclean distclean-generic distclean-libtool \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am \ + install-libmanDATA install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-libmanDATA + + +.man.$(LIB_MAN_SUFFIX): + sed $(MAN_SUBSTS) < $< > $@ + +# Generate nroff sources from DocBook/xml + +dist-hook: $(libman_PRE) + +@HAVE_XMLTO_TRUE@$(libman_PRE): $(libman_xml) +@HAVE_XMLTO_TRUE@ $(XMLTO) man $(libman_xml) +@HAVE_XMLTO_TRUE@ for m in $(XTest_manpages); do \ +@HAVE_XMLTO_TRUE@ mv -f $$m.__libmansuffix__ $$m.man ; \ +@HAVE_XMLTO_TRUE@ done +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/lib/libXtst/man/XTest.xml b/lib/libXtst/man/XTest.xml new file mode 100644 index 000000000..a80ab2272 --- /dev/null +++ b/lib/libXtst/man/XTest.xml @@ -0,0 +1,414 @@ + + + + + + + + + + + __vendorversion__ + 6 June 2007 + KieronDrake + UniSoft Ltd. + + + +XTest +__libmansuffix__ +__xorgversion__ +XTST FUNCTIONS + + +XTestQueryExtension +XTestCompareCursorWithWindow +XTestCompareCurrentCursorWithWindow +XTestFakeKeyEvent +XTestFakeButtonEvent +XTestFakeMotionEvent +XTestFakeRelativeMotionEvent +XTestGrabControl +XTestSetGContextOfGC +XTestSetVisualIDOfVisual +XTestDiscard +XTest extension functions + + + + + +cc [ flag ... ] file ... -lXtst [ library ... ] + + +#include <X11/extensions/XTest.h> + + +Bool XTestQueryExtension +display +event_base +error_base +major_version +minor_version + + + Display *display; + int *event_base; + int *error_base; + int *major_version; + int *minor_version; + + +Bool XTestCompareCursorWithWindow +display +window +cursor + + + Display *display; + Window window; + Cursor cursor; + + +Bool XTestCompareCurrentCursorWithWindow +display +window + + + Display *display; + Window window; + + +int XTestFakeKeyEvent +display +keycode +is_press +delay + + + Display *display; + unsigned int keycode; + Bool is_press; + unsigned long delay; + + +int XTestFakeButtonEvent +display +button +is_press +delay + + + Display *display; + unsigned int button; + Bool is_press; + unsigned long delay; + + +int XTestFakeMotionEvent +display +screen_number +x +y +delay + + + Display *display; + int screen_number; + int x, y; + unsigned long delay; + + +int XTestFakeRelativeMotionEvent +display +screen_number +x +y +delay + + + Display *display; + int screen_number; + int x, y; + unsigned long delay; + + +int XTestGrabControl +display +impervious + + + Display *display; + Bool impervious; + + +void XTestSetGContextOfGC +gc +gid + + + GC gc; + GContext gid; + + +void XTestSetVisualIDOfVisual +visual +visualid + + + Visual *visual; + VisualID visualid; + + +Status XTestDiscard +display + + + Display *display; + + + + + +DESCRIPTION +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. + +The functions provided by this extension fall into two groups: + + + Client Operations + +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 +— GCs +and +Visuals — +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. + + + + Server Requests + +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: + + +Access to an otherwise write-only server resource: +the cursor associated with a given window + + +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. + + + + + + +All XTEST extension functions and procedures, and all manifest +constants and macros, will start with the string XTest. +All operations are classified as +server/client (Server) or client-only (Client). + +XTestQueryExtension +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. + + +If the extension is supported, +XTestCompareCursorWithWindow +performs a comparison of the cursor +whose ID is specified by cursor (which may be +None) +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. + + +If the extension is supported, +XTestCompareCurrentCursorWithWindow +performs a comparison of the current cursor +with the cursor of the specified 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. + + +If the extension is supported, +XTestFakeKeyEvent +requests the server to simulate either a +KeyPress +(if is_press is +True) +or a +KeyRelease +(if is_press is +False) +of the key with the specified keycode; +otherwise, the request is ignored. + +If the extension is supported, +the simulated event will not be processed until delay milliseconds +after the request is received (if delay is +CurrentTime, +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. + + +If the extension is supported, +XTestFakeButtonEvent +requests the server to simulate either +a +ButtonPress +(if is_press is +True) +or a +ButtonRelease +(if is_press is +False) +of the logical button numbered by the specified button; +otherwise, the request is ignored. + +If the extension is supported, +the simulated event will not be processed until delay milliseconds +after the request is received (if delay is +CurrentTime, +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. + + +If the extension is supported, +XTestFakeMotionEvent +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. + +If the extension is supported, +the simulated event will not be processed until delay milliseconds +after the request is received (if delay is +CurrentTime, +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. + + +If the extension is supported, +XTestFakeRelativeMotionEvent +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. + +If the extension is supported, +the simulated event will not be processed until delay milliseconds +after the request is received (if delay is +CurrentTime, +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. + + + +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. + + +XTestSetGContextOfGC +sets the GContext within the opaque datatype referenced by gc to +be that specified by gid. + + +XTestSetVisualIDOfVisual +sets the VisualID within the opaque datatype referenced by visual to +be that specified by visualid. + + +XTestDiscard +discards any requests within the output buffer for the specified display. +It returns +True +if any requests were discarded; otherwise, it returns +False. + + + +RETURN VALUES +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. + + + diff --git a/lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man b/lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestCompareCurrentCursorWithWindow.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestCompareCursorWithWindow.man b/lib/libXtst/man/XTestCompareCursorWithWindow.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestCompareCursorWithWindow.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestDiscard.man b/lib/libXtst/man/XTestDiscard.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestDiscard.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestFakeButtonEvent.man b/lib/libXtst/man/XTestFakeButtonEvent.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestFakeButtonEvent.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestFakeKeyEvent.man b/lib/libXtst/man/XTestFakeKeyEvent.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestFakeKeyEvent.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestFakeMotionEvent.man b/lib/libXtst/man/XTestFakeMotionEvent.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestFakeMotionEvent.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestFakeRelativeMotionEvent.man b/lib/libXtst/man/XTestFakeRelativeMotionEvent.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestFakeRelativeMotionEvent.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestGrabControl.man b/lib/libXtst/man/XTestGrabControl.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestGrabControl.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestQueryExtension.man b/lib/libXtst/man/XTestQueryExtension.man new file mode 100644 index 000000000..3fe6b649e --- /dev/null +++ b/lib/libXtst/man/XTestQueryExtension.man @@ -0,0 +1,218 @@ +.\" ** 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" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.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 +\fR +.HP 25 +\fB\fBBool\fR\ XTestQueryExtension\fR\fB(\fR\fB\fIdisplay\fR\fR\fB, \fR\fB\fIevent_base\fR\fR\fB, \fR\fB\fIerror_base\fR\fR\fB, \fR\fB\fImajor_version\fR\fR\fB, \fR\fB\fIminor_version\fR\fR\fB);\fR +.PP +\fB + Display *display; + int *event_base; + int *error_base; + int *major_version; + int *minor_version; +\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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + Visual *visual; + VisualID visualid; +\fR +.HP 20 +\fB\fBStatus\fR\ XTestDiscard\fR\fB(\fR\fB\fIdisplay\fR\fR\fB);\fR +.PP +\fB + Display *display; +\fR +.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. +.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 +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 +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 +.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). +.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. +.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 +True +if they are the same and +False +otherwise. If the extension is not supported, then the request is ignored and zero is returned. +.PP +If the extension is supported, +\fBXTestCompareCurrentCursorWithWindow\fR +performs a comparison of the current cursor with the cursor of the specified 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. +.PP +If the extension is supported, +\fBXTestFakeKeyEvent\fR +requests the server to simulate either a +\fIKeyPress\fR +(if is_press is +True) or a +\fIKeyRelease\fR +(if is_press is +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. +.PP +If the extension is supported, +\fBXTestFakeButtonEvent\fR +requests the server to simulate either a +\fIButtonPress\fR +(if is_press is +True) or a +\fIButtonRelease\fR +(if is_press is +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. +.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. +.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. +.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. +.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. +.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. +.PP +\fBXTestSetGContextOfGC\fR +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. +.PP +\fBXTestDiscard\fR +discards any requests within the output buffer for the specified display. It returns +True +if any requests were discarded; otherwise, it returns +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. +.SH "AUTHOR" +Kieron Drake. diff --git a/lib/libXtst/man/XTestSetGContextOfGC.man b/lib/libXtst/man/XTestSetGContextOfGC.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestSetGContextOfGC.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ diff --git a/lib/libXtst/man/XTestSetVisualIDOfVisual.man b/lib/libXtst/man/XTestSetVisualIDOfVisual.man new file mode 100644 index 000000000..7d905aaa4 --- /dev/null +++ b/lib/libXtst/man/XTestSetVisualIDOfVisual.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XTestQueryExtension.__libmansuffix__ -- cgit v1.2.3