sync with OpenBSD -current
This commit is contained in:
parent
2d1e52c274
commit
b5b25afdb8
657 changed files with 21464 additions and 54675 deletions
|
@ -13,8 +13,7 @@ to that file.
|
|||
|
||||
Copyright (C) 2003-2006,2008 Jamey Sharp, Josh Triplett
|
||||
Copyright © 2009 Red Hat, Inc.
|
||||
Copyright 1990-1992,1999,2000,2004,2009,2010 Oracle and/or its affiliates.
|
||||
All rights reserved.
|
||||
Copyright (c) 1990-1992, 1999, 2000, 2004, 2009, 2010, 2015, 2017, Oracle and/or its affiliates.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -228,35 +227,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
|
||||
----------------------------------------
|
||||
|
||||
|
||||
Copyright (c) 1995 David E. Wexelblat. All rights reserved
|
||||
|
||||
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 Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
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 DAVID E. WEXELBLAT 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 David E. Wexelblat shall
|
||||
not be used in advertising or otherwise to promote the sale, use or
|
||||
other dealings in this Software without prior written authorization
|
||||
from David E. Wexelblat.
|
||||
|
||||
----------------------------------------
|
||||
|
||||
Copyright 1990, 1991 by OMRON Corporation
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
|
@ -938,5 +908,21 @@ AND FITNESS, IN NO EVENT SHALL OMRON, NTT SOFTWARE, OR NTT, 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 (c) 2008 Otto Moerbeek <otto@drijf.net>
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, 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.
|
||||
|
||||
|
|
1794
lib/libX11/ChangeLog
1794
lib/libX11/ChangeLog
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
# $OpenBSD: Makefile.bsd-wrapper,v 1.29 2022/09/03 06:55:25 matthieu Exp $
|
||||
# $OpenBSD: Makefile.bsd-wrapper,v 1.30 2024/07/11 07:28:46 matthieu Exp $
|
||||
.include <bsd.xconf.mk>
|
||||
|
||||
# when buming X11 major also bump:
|
||||
|
@ -10,11 +10,10 @@
|
|||
# when bumping X11_xcb also bump:
|
||||
# libEGL libGL libIntelXvMC libGLU
|
||||
|
||||
SHARED_LIBS= X11 18.0 X11_xcb 2.0
|
||||
SHARED_LIBS= X11 18.1 X11_xcb 2.0
|
||||
|
||||
CONFIGURE_ARGS= --enable-tcp-transport --enable-unix-transport --enable-ipv6 \
|
||||
--disable-composecache \
|
||||
--disable-thread-safety-constructor \
|
||||
--without-xmlto --without-fop --without-xsltproc
|
||||
|
||||
.include <bsd.xorg.mk>
|
||||
|
|
|
@ -55,7 +55,7 @@ DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
|
|||
$(srcdir)/Makefile.in $(srcdir)/x11-xcb.pc.in \
|
||||
$(srcdir)/x11.pc.in $(top_srcdir)/configure \
|
||||
$(top_srcdir)/include/X11/XlibConf.h.in AUTHORS COPYING \
|
||||
ChangeLog INSTALL NEWS compile config.guess config.sub depcomp \
|
||||
ChangeLog INSTALL compile config.guess config.sub depcomp \
|
||||
install-sh ltmain.sh missing
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_define_dir.m4 \
|
||||
|
@ -281,6 +281,7 @@ STRICT_CFLAGS = @STRICT_CFLAGS@
|
|||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
TRADITIONALCPPFLAGS = @TRADITIONALCPPFLAGS@
|
||||
USE_THREAD_LIBS = @USE_THREAD_LIBS@
|
||||
VERSION = @VERSION@
|
||||
WCHAR32 = @WCHAR32@
|
||||
X11_CFLAGS = @X11_CFLAGS@
|
||||
|
|
185
lib/libX11/NEWS
185
lib/libX11/NEWS
|
@ -1,185 +0,0 @@
|
|||
Version 1.1.2 - 2007-06-03
|
||||
|
||||
* Security fixes:
|
||||
* Fix CVE-2007-1667: Multiple integer overflows in the XGetPixel() and
|
||||
XInitImage() functions.
|
||||
* Bug #9279: Fixed a file descriptor leak.
|
||||
|
||||
* Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for
|
||||
exactly one event. Large performance improvement for XIfEvent and similar.
|
||||
|
||||
* Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held.
|
||||
An Xlib client can query Display state, such as with NextRequest, while it
|
||||
holds only the Xlib user lock (between XLockDisplay and XUnlockDisplay), so
|
||||
XCB requests in other threads should be blocked when the Xlib user lock is
|
||||
held. We acquire the lock even when XInitThreads was not called, so that
|
||||
pure XCB code can use multiple threads even in an otherwise single-threaded
|
||||
Xlib application.
|
||||
|
||||
* Allow re-entrant Xlib calls from _XIOError.
|
||||
Some libraries try to clean up X resources from atexit handlers, _fini, or
|
||||
C++ destructors. To make these work, downgrade the Display lock to a user
|
||||
lock (as in XLockDisplay) before calling exit(3). This blocks Xlib calls
|
||||
from threads other than the one calling exit(3) while still allowing the
|
||||
exit handlers to call Xlib.
|
||||
|
||||
* Xlib/XCB: Avoid re-crashing after _XIOError.
|
||||
|
||||
* Xlib/XCB: Only remove pending_requests when there are provably no more responses.
|
||||
|
||||
* For NetBSD, define XTHREADLIB and XTHREAD_CFLAGS.
|
||||
|
||||
* Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data.
|
||||
Now only those fields of the respective hint struct are set that
|
||||
are actually valid in the input data.
|
||||
|
||||
* Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code.
|
||||
|
||||
* Bug #7713: Initialize all of the event's fields before sending it.
|
||||
|
||||
* Bug #10562: Define _GNU_SOURCE on glibc systems.
|
||||
|
||||
* Use unistd.h to get getresuid() and friends, now that we have _GNU_SOURCE
|
||||
defined.
|
||||
|
||||
* Switched function definitions from K&R to ANSI style.
|
||||
|
||||
* Many constness fixes.
|
||||
|
||||
* Fixed a few warnings.
|
||||
|
||||
* Fix 64bit issues with reallocation.
|
||||
|
||||
* Manpage fixes:
|
||||
* Add man pages for XKB APIs.
|
||||
(Volunteer needed to convert prototypes in man pages to ANSI C style...)
|
||||
* Protect C comments and #defines in XKB man pages from being mangled by cpp
|
||||
* Fix typo in nroff macro in XkbAddGeomOverlayKey.man
|
||||
* Bug #9695: Fixed a few argument types in the XOpenIM manpage.
|
||||
* Markup tweak for XOpenIM.
|
||||
* Bug #9696: refer to XDefineCursor() instead of XDefineCusor().
|
||||
* Bug #9697: Fixed documentation of XVisualInfo struct. The "depth" member
|
||||
was said to be unsigned int, but it's signed.
|
||||
|
||||
* nls fixes:
|
||||
* Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs.
|
||||
* For nls/*.pre, allow people to comment lines by starting them with '##'.
|
||||
|
||||
* Build system fixes:
|
||||
* Add autogen.sh to EXTRA_DIST.
|
||||
* Makefile.am: make ChangeLog hook safer
|
||||
* Don't distribute the configure-generated XlibConf.h in tarballs.
|
||||
|
||||
Version 1.1.1 - 2006-11-30
|
||||
|
||||
The "xcompmgr is hard, let's go releasing" release
|
||||
|
||||
* Fix Bug #9154 and friends, to unbreak xcompmgr:
|
||||
Always process an event for _XReadEvents, even if an error occurs.
|
||||
Previously, process_responses (in the wait_for_first_event case called
|
||||
from _XReadEvents) considered any return from xcb_wait_for_event
|
||||
sufficient to think it had processed an event. If xcb_wait_for_event
|
||||
returned an error, and no more events occurred before process_responses
|
||||
called xcb_poll_for_event, process_responses would try to return with
|
||||
dpy->head NULL, and would fail an assertion for the _XReadEvents
|
||||
postcondition. Now, process_responses continues using xcb_wait_for_event
|
||||
until it gets an event.
|
||||
|
||||
* Bug #9153: Fix access to freed memory.
|
||||
The fix for bug #8622 introduced a smaller bug where _XReply would
|
||||
read memory shortly after freeing it. This patch caches the needed
|
||||
value in a stack-allocated variable before the heap-allocated memory
|
||||
is freed.
|
||||
|
||||
* libx11 doesn't use inputproto in public headers; don't require it in x11.pc.
|
||||
Based on a Debian patch.
|
||||
|
||||
* Debian bug #354315: Clarify return value in XGetWindowAttributes man page.
|
||||
Patch by Debian user Ross Combs.
|
||||
|
||||
|
||||
Version 1.1 - 2006-11-23
|
||||
|
||||
* Add note in man-page that XListFontsWithInfo is not thread-safe. _XReply
|
||||
drops the Display lock, so the value of dpy->request may change before
|
||||
_XReply is called again. Jamey Sharp discovered this by inspection a few
|
||||
years ago.
|
||||
|
||||
* Fix Bug #8622, by fixing the response processing order for threaded apps.
|
||||
process_responses (the common code for _XReply, _XReadEvents, and
|
||||
_XEventsQueued) now handles responses in order, by adding condition variables
|
||||
to the list of outstanding requests in dpy->xcb->pending_requests, and
|
||||
blocking on them when those requests should get processed, to allow _XReply
|
||||
to process them; if actually called from _XReply, it returns when _XReply's
|
||||
request should get processed. _XReply broadcasts on its condition variable
|
||||
after it has read its reply and re-acquired the display lock.
|
||||
|
||||
* Don't hold the display lock around callbacks to the application. This avoids
|
||||
recursive locking of the display lock (which triggers an XCB locking
|
||||
assertion), particularly with emacs.
|
||||
|
||||
* Add xcb-xlib dependency to x11.pc when built against XCB.
|
||||
|
||||
* Allocate the right amount of memory for dpy->lock_fns. Fixes a crash on
|
||||
startup with gdk.
|
||||
|
||||
|
||||
Version 1.1 RC2 - 2006-11-02
|
||||
|
||||
Benno Schulenberg:
|
||||
nls: remove duplicate compose entries (bug #2286)
|
||||
nls: remove shadowed compose entries (bug #2286)
|
||||
nls (en_US): remove long compositions that override shorter (bug #2286)
|
||||
|
||||
Caolan McNamara:
|
||||
XKB geometry: fix leaks in GetKeyboardByName (bug #8099)
|
||||
|
||||
David Nusinow:
|
||||
Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11
|
||||
|
||||
Jamey Sharp:
|
||||
Add correct Display locking to XKB functions.
|
||||
XKB bugfix: SyncHandle must be called after UnlockDisplay, not before.
|
||||
XCB: check for and handle I/O errors in _XGetXCBBuffer.
|
||||
|
||||
Matthias Hopf:
|
||||
Fix double open of compose file.
|
||||
|
||||
|
||||
Version 1.1 RC1 - 2006-10-06
|
||||
|
||||
This release includes the Xlib/XCB work, which uses XCB as the Xlib transport
|
||||
layer, and allows a client to use both Xlib and XCB on the same connection.
|
||||
This allows clients to transition from Xlib to XCB incrementally.
|
||||
|
||||
Clients which link only to libX11, and do not use XCB, should not notice any
|
||||
differences in this release. Clients desiring XCB interoperability should
|
||||
additionally #include <X11/Xlib-xcb.h>, link to libX11-xcb, use
|
||||
XGetXCBConnection(dpy) to obtain the underlying XCB connection, and then use
|
||||
XCB functions directly on that connection.
|
||||
|
||||
Note that while a client can issue requests and handle their replies or errors
|
||||
with either Xlib or XCB, only one can own and handle the event queue. By
|
||||
default, Xlib must own the event queue, for compatibility with legacy Xlib
|
||||
clients. Clients can use the function XSetEventQueueOwner immediately after
|
||||
XOpenDisplay to let XCB own the event queue instead. Clients may not call
|
||||
this function after processing any responses, as this will potentially lose
|
||||
responses.
|
||||
|
||||
We expect to have an RC2 release corresponding to the Xorg RC2 schedule, which
|
||||
should include additional internal architecture enhancements, but no
|
||||
user-visible changes. 1.0 final should match RC2.
|
||||
|
||||
Other smaller changes in this release:
|
||||
* correct ChangeLog generation
|
||||
* support running lint and sparse
|
||||
* Autoconf 2.60
|
||||
* fix man page for XUrgencyHint
|
||||
* improve man pages for XGrabButton, XGrabKey, XGetWindowProperty
|
||||
* new locales: as_IN.UTF-8, kn_IN.UTF-8, ml_IN.UTF-8, or_IN.UTF-8,
|
||||
te_IN.UTF-8, ur_IN.UTF-8
|
||||
* on systems with both UNIXCONN and LOCALCONN, try unix if local fails
|
||||
* fix sparse warnings
|
||||
* ansify static functions
|
||||
|
||||
-- Josh Triplett <josh@freedesktop.org>, Jamey Sharp <jamey@minilop.net>
|
|
@ -31,6 +31,79 @@ For patch submission instructions, see:
|
|||
|
||||
https://www.x.org/wiki/Development/Documentation/SubmittingPatches
|
||||
|
||||
## Release 1.8.9
|
||||
|
||||
* Fix regressions introduced in 1.8.8 (!245, !248) - this includes reverting
|
||||
for now the previous "Fix XIM input sometimes jumbled (#198, !236)"
|
||||
|
||||
## Release 1.8.8
|
||||
|
||||
* Fix XIM input sometimes jumbled (#198, !236)
|
||||
* Fix _XkbReadGetDeviceInfoReply for nButtons == dev->buttons (!237)
|
||||
* Drop ifdefs for platforms that are no longer supported (!242, !243)
|
||||
* Assorted memory handling cleanups
|
||||
|
||||
## Release 1.8.7
|
||||
|
||||
* Security fixes and hardening in XImage and pixmap handling code
|
||||
(CVE-2023-43786, CVE-2023-43787, !234)
|
||||
* Fix buffer allocation in _XkbReadKeySyms() (CVE-2023-43785)
|
||||
* Fail XOpenDisplay() if server-provided default visual is invalid (!233)
|
||||
* Bring XKB docs in line with actual implementation (!231, !228)
|
||||
* Xutil.h: declare XEmptyRegion() and XEqualRegion() as Bool (!225)
|
||||
* Assorted updates to en_US.UTF-8 compose keys (!213, !214, !215, !216,
|
||||
!217, !219, !220, !222, !223, !226, !227, !229)
|
||||
|
||||
## Release 1.8.6
|
||||
|
||||
* Add bounds checks in InitExt.c (CVE-2023-3138)
|
||||
|
||||
## Release 1.8.5
|
||||
|
||||
* autoconf & libtool updates (!187, !188)
|
||||
* Restore missing text in XSetScreenSaver man page (#187, !203)
|
||||
* Update am_ET.UTF-8 compose keys to use dead-vowel symbols,
|
||||
in coordination with xkeyboard-config 2.39 (!205)
|
||||
* Assorted updates to en_US.UTF-8 compose keys (!189, !195, !196, !198,
|
||||
!199, !200, !201, !207, !208, !209)
|
||||
|
||||
## Release 1.8.4
|
||||
|
||||
* Revert AddressSanitizer fix from 1.8.3 that caused regression (#176, !180)
|
||||
* Add two compose sequences for "capital B with stroke", remove others (!179)
|
||||
* Further improved handling of reentering libX11 via X*IfEvent() calls (!176)
|
||||
|
||||
|
||||
## Release 1.8.3
|
||||
|
||||
* Improved handling of reentering libX11 via X*IfEvent() calls (!171, !173)
|
||||
* Fix loading of en_US.UTF-8/XLC_LOCALE (#167, !174)
|
||||
* Add XFreeThreads() and automatic call from a destructor function when
|
||||
thread-safety-constructor is enabled (!167).
|
||||
* Address issues found by UBSan and AddressSanitizer
|
||||
* Fix build with older gcc versions (!169)
|
||||
|
||||
## Release 1.8.2
|
||||
|
||||
* Allow X*IfEvent() to reenter libX11 to avoid deadlock from unsafe
|
||||
calls when thread-safety-constructor is enabled (!150).
|
||||
* Remove Xlib's pthread function stubs - instead use system provided
|
||||
threads functions, including linking against any needed pthread
|
||||
libraries if thread-safety-constructor is enabled (!155, !156).
|
||||
* Fix off-by-one error in XKeycodeToKeysym for indexes > 3 (!78).
|
||||
* Allow XNSpotLocation with OnTheSpot (!127).
|
||||
* Fix Win32 build when -fno-common is in effect (!140).
|
||||
* Fix memory leak in XRegisterIMInstantiateCallback (!158).
|
||||
* Add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ (!144),
|
||||
the Samogitian E with dot above and macron (!147), Unicode minus sign (!163).
|
||||
* Change <Compose> <^> <-> to mean superscript minus instead of macron (!162).
|
||||
* Delete compose sequences that mix top-row digits with numpad digits (!139)
|
||||
or mix upper & lower case letters (!144).
|
||||
* Delete some unuseful compose sequences meant for Bépo layout (!146).
|
||||
* Delete compose sequences using leftcaret & rightcaret keysyms (!163).
|
||||
* Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE (!148).
|
||||
* Map sr locales to sr_RS compose files (!161).
|
||||
|
||||
## Release 1.8.1
|
||||
|
||||
* Fix --enable-thread-safety-constructor configure option
|
||||
|
|
80
lib/libX11/aclocal.m4
vendored
80
lib/libX11/aclocal.m4
vendored
|
@ -13,8 +13,8 @@
|
|||
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
|
||||
[m4_warning([this file was generated for autoconf 2.69.
|
||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
|
||||
[m4_warning([this file was generated for autoconf 2.71.
|
||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||
If you have problems, you may need to regenerate the build system entirely.
|
||||
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
||||
|
@ -1325,7 +1325,7 @@ m4_include([m4/ltversion.m4])
|
|||
m4_include([m4/lt~obsolete.m4])
|
||||
dnl xorg-macros.m4. Generated from xorg-macros.m4.in xorgversion.m4 by configure.
|
||||
dnl
|
||||
dnl Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
dnl Copyright (c) 2005, 2023, Oracle and/or its affiliates.
|
||||
dnl
|
||||
dnl Permission is hereby granted, free of charge, to any person obtaining a
|
||||
dnl copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -1362,7 +1362,7 @@ dnl DEALINGS IN THE SOFTWARE.
|
|||
# See the "minimum version" comment for each macro you use to see what
|
||||
# version you require.
|
||||
m4_defun([XORG_MACROS_VERSION],[
|
||||
m4_define([vers_have], [1.19.2])
|
||||
m4_define([vers_have], [1.20.1])
|
||||
m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.])))
|
||||
m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.])))
|
||||
m4_if(m4_cmp(maj_have, maj_needed), 0,,
|
||||
|
@ -1383,7 +1383,7 @@ AM_MAINTAINER_MODE
|
|||
# such as man pages and config files
|
||||
AC_DEFUN([XORG_PROG_RAWCPP],[
|
||||
AC_REQUIRE([AC_PROG_CPP])
|
||||
AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}],
|
||||
AC_PATH_TOOL(RAWCPP, [cpp], [${CPP}],
|
||||
[$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib])
|
||||
|
||||
# Check for flag to avoid builtin definitions - assumes unix is predefined,
|
||||
|
@ -1409,10 +1409,10 @@ rm -f conftest.$ac_ext
|
|||
|
||||
AC_MSG_CHECKING([if $RAWCPP requires -traditional])
|
||||
AC_LANG_CONFTEST([AC_LANG_SOURCE([[Does cpp preserve "whitespace"?]])])
|
||||
if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then
|
||||
if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve "'` -eq 1 ; then
|
||||
AC_MSG_RESULT([no])
|
||||
else
|
||||
if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then
|
||||
if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve "'` -eq 1 ; then
|
||||
TRADITIONALCPPFLAGS="-traditional"
|
||||
RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
|
||||
AC_MSG_RESULT([yes])
|
||||
|
@ -1693,7 +1693,7 @@ AC_SUBST(MAKE_HTML)
|
|||
# Documentation tools are not always available on all platforms and sometimes
|
||||
# not at the appropriate level. This macro enables a module to test for the
|
||||
# presence of the tool and obtain it's path in separate variables. Coupled with
|
||||
# the --with-xmlto option, it allows maximum flexibilty in making decisions
|
||||
# the --with-xmlto option, it allows maximum flexibility in making decisions
|
||||
# as whether or not to use the xmlto package. When DEFAULT is not specified,
|
||||
# --with-xmlto assumes 'auto'.
|
||||
#
|
||||
|
@ -1907,7 +1907,7 @@ AM_CONDITIONAL([HAVE_PERL], [test "$have_perl" = yes])
|
|||
# Documentation tools are not always available on all platforms and sometimes
|
||||
# not at the appropriate level. This macro enables a module to test for the
|
||||
# presence of the tool and obtain it's path in separate variables. Coupled with
|
||||
# the --with-asciidoc option, it allows maximum flexibilty in making decisions
|
||||
# the --with-asciidoc option, it allows maximum flexibility in making decisions
|
||||
# as whether or not to use the asciidoc package. When DEFAULT is not specified,
|
||||
# --with-asciidoc assumes 'auto'.
|
||||
#
|
||||
|
@ -1977,7 +1977,7 @@ AM_CONDITIONAL([HAVE_ASCIIDOC], [test "$have_asciidoc" = yes])
|
|||
# Documentation tools are not always available on all platforms and sometimes
|
||||
# not at the appropriate level. This macro enables a module to test for the
|
||||
# presence of the tool and obtain it's path in separate variables. Coupled with
|
||||
# the --with-doxygen option, it allows maximum flexibilty in making decisions
|
||||
# the --with-doxygen option, it allows maximum flexibility in making decisions
|
||||
# as whether or not to use the doxygen package. When DEFAULT is not specified,
|
||||
# --with-doxygen assumes 'auto'.
|
||||
#
|
||||
|
@ -2061,7 +2061,7 @@ AM_CONDITIONAL([HAVE_DOXYGEN], [test "$have_doxygen" = yes])
|
|||
# Documentation tools are not always available on all platforms and sometimes
|
||||
# not at the appropriate level. This macro enables a module to test for the
|
||||
# presence of the tool and obtain it's path in separate variables. Coupled with
|
||||
# the --with-groff option, it allows maximum flexibilty in making decisions
|
||||
# the --with-groff option, it allows maximum flexibility in making decisions
|
||||
# as whether or not to use the groff package. When DEFAULT is not specified,
|
||||
# --with-groff assumes 'auto'.
|
||||
#
|
||||
|
@ -2169,7 +2169,7 @@ AM_CONDITIONAL([HAVE_GROFF_HTML], [test "$have_groff_html" = yes])
|
|||
# Documentation tools are not always available on all platforms and sometimes
|
||||
# not at the appropriate level. This macro enables a module to test for the
|
||||
# presence of the tool and obtain it's path in separate variables. Coupled with
|
||||
# the --with-fop option, it allows maximum flexibilty in making decisions
|
||||
# the --with-fop option, it allows maximum flexibility in making decisions
|
||||
# as whether or not to use the fop package. When DEFAULT is not specified,
|
||||
# --with-fop assumes 'auto'.
|
||||
#
|
||||
|
@ -2263,7 +2263,7 @@ AC_SUBST([M4], [$ac_cv_path_M4])
|
|||
# Documentation tools are not always available on all platforms and sometimes
|
||||
# not at the appropriate level. This macro enables a module to test for the
|
||||
# presence of the tool and obtain it's path in separate variables. Coupled with
|
||||
# the --with-ps2pdf option, it allows maximum flexibilty in making decisions
|
||||
# the --with-ps2pdf option, it allows maximum flexibility in making decisions
|
||||
# as whether or not to use the ps2pdf package. When DEFAULT is not specified,
|
||||
# --with-ps2pdf assumes 'auto'.
|
||||
#
|
||||
|
@ -2318,7 +2318,7 @@ AM_CONDITIONAL([HAVE_PS2PDF], [test "$have_ps2pdf" = yes])
|
|||
# not at the appropriate level. This macro enables a builder to skip all
|
||||
# documentation targets except traditional man pages.
|
||||
# Combined with the specific tool checking macros XORG_WITH_*, it provides
|
||||
# maximum flexibilty in controlling documentation building.
|
||||
# maximum flexibility in controlling documentation building.
|
||||
# Refer to:
|
||||
# XORG_WITH_XMLTO --with-xmlto
|
||||
# XORG_WITH_ASCIIDOC --with-asciidoc
|
||||
|
@ -2351,7 +2351,7 @@ AC_MSG_RESULT([$build_docs])
|
|||
#
|
||||
# This macro enables a builder to skip all developer documentation.
|
||||
# Combined with the specific tool checking macros XORG_WITH_*, it provides
|
||||
# maximum flexibilty in controlling documentation building.
|
||||
# maximum flexibility in controlling documentation building.
|
||||
# Refer to:
|
||||
# XORG_WITH_XMLTO --with-xmlto
|
||||
# XORG_WITH_ASCIIDOC --with-asciidoc
|
||||
|
@ -2384,7 +2384,7 @@ AC_MSG_RESULT([$build_devel_docs])
|
|||
#
|
||||
# This macro enables a builder to skip all functional specification targets.
|
||||
# Combined with the specific tool checking macros XORG_WITH_*, it provides
|
||||
# maximum flexibilty in controlling documentation building.
|
||||
# maximum flexibility in controlling documentation building.
|
||||
# Refer to:
|
||||
# XORG_WITH_XMLTO --with-xmlto
|
||||
# XORG_WITH_ASCIIDOC --with-asciidoc
|
||||
|
@ -2859,7 +2859,11 @@ AM_CONDITIONAL(MAKE_LINT_LIB, [test x$make_lint_lib != xno])
|
|||
AC_DEFUN([XORG_COMPILER_BRAND], [
|
||||
AC_LANG_CASE(
|
||||
[C], [
|
||||
AC_REQUIRE([AC_PROG_CC_C99])
|
||||
dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC
|
||||
dnl and complains that AC_PROG_CC_C99 is obsolete
|
||||
m4_version_prereq([2.70],
|
||||
[AC_REQUIRE([AC_PROG_CC])],
|
||||
[AC_REQUIRE([AC_PROG_CC_C99])])
|
||||
],
|
||||
[C++], [
|
||||
AC_REQUIRE([AC_PROG_CXX])
|
||||
|
@ -2875,7 +2879,7 @@ AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
|
|||
# Minimum version: 1.16.0
|
||||
#
|
||||
# Test if the compiler works when passed the given flag as a command line argument.
|
||||
# If it succeeds, the flag is appeneded to the given variable. If not, it tries the
|
||||
# If it succeeds, the flag is appended to the given variable. If not, it tries the
|
||||
# next flag in the list until there are no more options.
|
||||
#
|
||||
# Note that this does not guarantee that the compiler supports the flag as some
|
||||
|
@ -2891,7 +2895,11 @@ AC_LANG_COMPILER_REQUIRE
|
|||
|
||||
AC_LANG_CASE(
|
||||
[C], [
|
||||
AC_REQUIRE([AC_PROG_CC_C99])
|
||||
dnl autoconf-2.70 folded AC_PROG_CC_C99 into AC_PROG_CC
|
||||
dnl and complains that AC_PROG_CC_C99 is obsolete
|
||||
m4_version_prereq([2.70],
|
||||
[AC_REQUIRE([AC_PROG_CC])],
|
||||
[AC_REQUIRE([AC_PROG_CC_C99])])
|
||||
define([PREFIX], [C])
|
||||
define([CACHE_PREFIX], [cc])
|
||||
define([COMPILER], [$CC])
|
||||
|
@ -3032,7 +3040,7 @@ XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
|
|||
# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
|
||||
# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
|
||||
|
||||
# Turn some warnings into errors, so we don't accidently get successful builds
|
||||
# Turn some warnings into errors, so we don't accidentally get successful builds
|
||||
# when there are problems that should be fixed.
|
||||
|
||||
if test "x$SELECTIVE_WERROR" = "xyes" ; then
|
||||
|
@ -3141,23 +3149,35 @@ AC_SUBST([BASE_]PREFIX[FLAGS])
|
|||
AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS]))
|
||||
]) # XORG_STRICT_OPTION
|
||||
|
||||
# XORG_DEFAULT_OPTIONS
|
||||
# --------------------
|
||||
# Minimum version: 1.3.0
|
||||
# XORG_DEFAULT_NOCODE_OPTIONS
|
||||
# ---------------------------
|
||||
# Minimum version: 1.20.0
|
||||
#
|
||||
# Defines default options for X.Org modules.
|
||||
# Defines default options for X.Org modules which don't compile code,
|
||||
# such as fonts, bitmaps, cursors, and docs.
|
||||
#
|
||||
AC_DEFUN([XORG_DEFAULT_OPTIONS], [
|
||||
AC_DEFUN([XORG_DEFAULT_NOCODE_OPTIONS], [
|
||||
AC_REQUIRE([AC_PROG_INSTALL])
|
||||
XORG_COMPILER_FLAGS
|
||||
XORG_CWARNFLAGS
|
||||
XORG_STRICT_OPTION
|
||||
XORG_RELEASE_VERSION
|
||||
XORG_CHANGELOG
|
||||
XORG_INSTALL
|
||||
XORG_MANPAGE_SECTIONS
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
|
||||
[AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
|
||||
]) # XORG_DEFAULT_NOCODE_OPTIONS
|
||||
|
||||
# XORG_DEFAULT_OPTIONS
|
||||
# --------------------
|
||||
# Minimum version: 1.3.0
|
||||
#
|
||||
# Defines default options for X.Org modules which compile code.
|
||||
#
|
||||
AC_DEFUN([XORG_DEFAULT_OPTIONS], [
|
||||
AC_REQUIRE([AC_PROG_INSTALL])
|
||||
XORG_COMPILER_FLAGS
|
||||
XORG_CWARNFLAGS
|
||||
XORG_STRICT_OPTION
|
||||
XORG_DEFAULT_NOCODE_OPTIONS
|
||||
]) # XORG_DEFAULT_OPTIONS
|
||||
|
||||
# XORG_INSTALL()
|
||||
|
@ -3244,7 +3264,7 @@ AC_SUBST([CHANGELOG_CMD])
|
|||
]) # XORG_CHANGELOG
|
||||
|
||||
dnl
|
||||
dnl Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
dnl Copyright (c) 2005, Oracle and/or its affiliates.
|
||||
dnl
|
||||
dnl Permission is hereby granted, free of charge, to any person obtaining a
|
||||
dnl copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -3367,7 +3387,7 @@ AC_DEFUN([XTRANS_CONNECTION_FLAGS],[
|
|||
XTRANS_TCP_FLAGS
|
||||
fi
|
||||
[case $host_os in
|
||||
solaris*|sco*|sysv4*) localdef="yes" ;;
|
||||
solaris*) localdef="yes" ;;
|
||||
*) localdef="no" ;;
|
||||
esac]
|
||||
AC_ARG_ENABLE(local-transport,
|
||||
|
|
1783
lib/libX11/config.guess
vendored
1783
lib/libX11/config.guess
vendored
File diff suppressed because it is too large
Load diff
2954
lib/libX11/config.sub
vendored
2954
lib/libX11/config.sub
vendored
File diff suppressed because it is too large
Load diff
10626
lib/libX11/configure
vendored
10626
lib/libX11/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,15 +1,15 @@
|
|||
|
||||
# Initialize Autoconf
|
||||
AC_PREREQ([2.60])
|
||||
AC_INIT([libX11], [1.8.1],
|
||||
[https://gitlab.freedesktop.org/xorg/lib/libx11/issues], [libX11])
|
||||
AC_PREREQ([2.70])
|
||||
AC_INIT([libX11], [1.8.9],
|
||||
[https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues], [libX11])
|
||||
AC_CONFIG_SRCDIR([Makefile.am])
|
||||
AC_CONFIG_HEADERS([src/config.h include/X11/XlibConf.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
# Set common system defines for POSIX extensions, such as _GNU_SOURCE
|
||||
# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
|
||||
# Must be called before any macros that run the compiler (like LT_INIT)
|
||||
# to avoid autoconf errors.
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
|
@ -17,7 +17,7 @@ AC_USE_SYSTEM_EXTENSIONS
|
|||
AM_INIT_AUTOMAKE([foreign dist-xz])
|
||||
|
||||
# Initialize libtool
|
||||
AC_PROG_LIBTOOL
|
||||
LT_INIT
|
||||
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
|
@ -98,20 +98,13 @@ m4_pattern_forbid([^XTRANS_CONNECTION_FLAGS$])
|
|||
XTRANS_CONNECTION_FLAGS
|
||||
|
||||
# Check for dlopen
|
||||
AC_MSG_CHECKING([if run-time linking is supported])
|
||||
AC_SEARCH_LIBS(dlopen,[dl svld])
|
||||
if test "x$ac_cv_search_dlopen" = xno; then
|
||||
AC_SEARCH_LIBS(shl_load,[dld])
|
||||
if test "x$ac_cv_search_shl_load" != xno; then
|
||||
AC_DEFINE(HAVE_SHL_LOAD,1,
|
||||
[Use shl_load to load shared libraries])
|
||||
AC_CHECK_HEADERS([dl.h])
|
||||
fi
|
||||
else
|
||||
if test "x$ac_cv_search_dlopen" != xno; then
|
||||
AC_DEFINE(HAVE_DLOPEN,1,[Use dlopen to load shared libraries])
|
||||
AC_CHECK_HEADERS([dlfcn.h])
|
||||
fi
|
||||
if test "x$ac_cv_header_dlfcn_h" = xyes -o "x$ac_cv_header_dl_h" = xyes; then
|
||||
AC_MSG_CHECKING([if run-time linking is supported])
|
||||
if test "x$ac_cv_header_dlfcn_h" = xyes; then
|
||||
HAVE_LOADABLE_MODULES=yes
|
||||
else
|
||||
HAVE_LOADABLE_MODULES=no
|
||||
|
@ -222,9 +215,6 @@ xyes)
|
|||
;;
|
||||
esac
|
||||
|
||||
AC_CHECK_LIB(c, pthread_self, [thrstubs="no"], [thrstubs="yes"])
|
||||
AM_CONDITIONAL(THRSTUBS, test x$thrstubs = xyes)
|
||||
|
||||
# XXX incomplete, please fill this in
|
||||
if test x$xthreads = xyes ; then
|
||||
case $host_os in
|
||||
|
@ -245,6 +235,17 @@ fi
|
|||
AC_SUBST(XTHREADLIB)
|
||||
AC_SUBST(XTHREAD_CFLAGS)
|
||||
|
||||
if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
|
||||
USE_THREAD_LIBS="$XTHREADLIB"
|
||||
else
|
||||
# This should be kept in sync with libxcb
|
||||
case $host_os in
|
||||
linux*|darwin*|solaris*) ;;
|
||||
*) X11_REQUIRES="$X11_REQUIRES pthread-stubs" ;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(USE_THREAD_LIBS)
|
||||
|
||||
AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
|
||||
|
||||
#
|
||||
|
@ -252,7 +253,7 @@ AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
|
|||
#
|
||||
AC_MSG_CHECKING([keysym definitions])
|
||||
AC_ARG_WITH([keysymdefdir],
|
||||
[AC_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h (defaults to xproto include dir)])],
|
||||
[AS_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h (defaults to xproto include dir)])],
|
||||
[KEYSYMDEFDIR=$withval],
|
||||
[KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11])
|
||||
|
||||
|
@ -432,12 +433,12 @@ AC_CONFIG_FILES([Makefile
|
|||
AC_OUTPUT
|
||||
|
||||
echo ""
|
||||
echo "X11 will be built with the following settings:"
|
||||
echo "$PACKAGE_STRING will be built with the following settings:"
|
||||
echo " Loadable i18n module support: "$XLIB_LOADABLE_I18N
|
||||
echo " Loadable xcursor library support: "$XLIB_LOADABLE_XCURSOR
|
||||
echo " Threading support: "$xthreads
|
||||
echo " Use Threads safe API: "$mtsafeapi
|
||||
echo " Threads stubs in libX11: "$thrstubs
|
||||
echo " Use thread safety constructor: "$USE_THREAD_SAFETY_CONSTRUCTOR
|
||||
echo " XCMS: "$XCMS
|
||||
echo " Internationalization support: "$XLOCALE
|
||||
echo " XF86BigFont support: "$XF86BIGFONT
|
||||
|
|
|
@ -222,6 +222,7 @@ STRICT_CFLAGS = @STRICT_CFLAGS@
|
|||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
TRADITIONALCPPFLAGS = @TRADITIONALCPPFLAGS@
|
||||
USE_THREAD_LIBS = @USE_THREAD_LIBS@
|
||||
VERSION = @VERSION@
|
||||
WCHAR32 = @WCHAR32@
|
||||
X11_CFLAGS = @X11_CFLAGS@
|
||||
|
|
|
@ -50,13 +50,9 @@ in this Software without prior written authorization from The Open Group.
|
|||
#ifndef X_WCHAR
|
||||
#include <stddef.h>
|
||||
#else
|
||||
#ifdef __UNIXOS2__
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
/* replace this with #include or typedef appropriate for your system */
|
||||
typedef unsigned long wchar_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
extern int
|
||||
|
@ -1735,6 +1731,10 @@ extern Status XInitThreads(
|
|||
void
|
||||
);
|
||||
|
||||
extern Status XFreeThreads(
|
||||
void
|
||||
);
|
||||
|
||||
extern void XLockDisplay(
|
||||
Display* /* display */
|
||||
);
|
||||
|
|
|
@ -43,6 +43,10 @@ from The Open Group.
|
|||
#include <X11/Xproto.h> /* to declare xEvent */
|
||||
#include <X11/XlibConf.h> /* for configured options like XTHREADS */
|
||||
|
||||
#ifdef XTHREADS
|
||||
#include <X11/Xthreads.h>
|
||||
#endif
|
||||
|
||||
/* The Xlib structs are full of implicit padding to properly align members.
|
||||
We can't clean that up without breaking ABI, so tell clang not to bother
|
||||
complaining about it. */
|
||||
|
@ -207,6 +211,10 @@ struct _XDisplay
|
|||
|
||||
XIOErrorExitHandler exit_handler;
|
||||
void *exit_handler_data;
|
||||
CARD32 in_ifevent;
|
||||
#ifdef XTHREADS
|
||||
xthread_t ifevent_thread;
|
||||
#endif
|
||||
};
|
||||
|
||||
#define XAllocIDs(dpy,ids,n) (*(dpy)->idlist_alloc)(dpy,ids,n)
|
||||
|
@ -332,9 +340,6 @@ typedef struct _XSQEvent
|
|||
#endif
|
||||
|
||||
#include <X11/Xproto.h>
|
||||
#ifdef __sgi
|
||||
#define _SGI_MP_SOURCE /* turn this on to get MP safe errno */
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#define _XBCOPYFUNC _Xbcopy
|
||||
#include <X11/Xfuncs.h>
|
||||
|
@ -581,11 +586,11 @@ extern void *_XGetRequest(Display *dpy, CARD8 type, size_t len);
|
|||
#define MakeBigReq(req,n) \
|
||||
{ \
|
||||
CARD64 _BRdat; \
|
||||
CARD32 _BRlen = req->length - 1; \
|
||||
CARD32 _BRlen = (CARD32) (req->length - 1); \
|
||||
req->length = 0; \
|
||||
_BRdat = ((CARD32 *)req)[_BRlen]; \
|
||||
memmove(((char *)req) + 8, ((char *)req) + 4, (_BRlen - 1) << 2); \
|
||||
((CARD32 *)req)[1] = _BRlen + n + 2; \
|
||||
((CARD32 *)req)[1] = _BRlen + (CARD32) (n) + 2; \
|
||||
Data32(dpy, &_BRdat, 4); \
|
||||
}
|
||||
#else
|
||||
|
@ -596,7 +601,7 @@ extern void *_XGetRequest(Display *dpy, CARD8 type, size_t len);
|
|||
req->length = 0; \
|
||||
_BRdat = ((CARD32 *)req)[_BRlen]; \
|
||||
memmove(((char *)req) + 8, ((char *)req) + 4, (_BRlen - 1) << 2); \
|
||||
((CARD32 *)req)[1] = _BRlen + n + 2; \
|
||||
((CARD32 *)req)[1] = _BRlen + (CARD32) (n) + 2; \
|
||||
Data32(dpy, &_BRdat, 4); \
|
||||
}
|
||||
#endif
|
||||
|
@ -615,10 +620,10 @@ extern void *_XGetRequest(Display *dpy, CARD8 type, size_t len);
|
|||
MakeBigReq(req,n) \
|
||||
} else { \
|
||||
n = badlen; \
|
||||
req->length += n; \
|
||||
req->length = (CARD16) (req->length + n); \
|
||||
} \
|
||||
} else \
|
||||
req->length += n
|
||||
req->length = (CARD16) (req->length + n)
|
||||
#else
|
||||
#define SetReqLen(req,n,badlen) \
|
||||
req->length += n
|
||||
|
@ -641,10 +646,10 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
|
|||
#ifndef DataRoutineIsProcedure
|
||||
#define Data(dpy, data, len) {\
|
||||
if (dpy->bufptr + (len) <= dpy->bufmax) {\
|
||||
memcpy(dpy->bufptr, data, (int)(len));\
|
||||
dpy->bufptr += ((len) + 3) & ~3;\
|
||||
memcpy(dpy->bufptr, data, (size_t)(len));\
|
||||
dpy->bufptr += ((size_t)((len) + 3) & (size_t)~3);\
|
||||
} else\
|
||||
_XSend(dpy, data, len);\
|
||||
_XSend(dpy, (_Xconst char*)(data), (long)(len));\
|
||||
}
|
||||
#endif /* DataRoutineIsProcedure */
|
||||
|
||||
|
@ -667,14 +672,14 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
|
|||
if (dpy->bufptr + (n) > dpy->bufmax) \
|
||||
_XFlush (dpy); \
|
||||
ptr = (type) dpy->bufptr; \
|
||||
memset(ptr, '\0', n); \
|
||||
memset(ptr, '\0', (size_t)(n)); \
|
||||
dpy->bufptr += (n);
|
||||
|
||||
#define Data16(dpy, data, len) Data((dpy), (_Xconst char *)(data), (len))
|
||||
#define _XRead16Pad(dpy, data, len) _XReadPad((dpy), (char *)(data), (len))
|
||||
#define _XRead16(dpy, data, len) _XRead((dpy), (char *)(data), (len))
|
||||
#ifdef LONG64
|
||||
#define Data32(dpy, data, len) _XData32(dpy, (_Xconst long *)data, len)
|
||||
#define Data32(dpy, data, len) _XData32(dpy, (_Xconst long *)(data), (unsigned)(len))
|
||||
extern int _XData32(
|
||||
Display *dpy,
|
||||
_Xconst long *data,
|
||||
|
@ -686,7 +691,7 @@ extern void _XRead32(
|
|||
long len
|
||||
);
|
||||
#else
|
||||
#define Data32(dpy, data, len) Data((dpy), (_Xconst char *)(data), (len))
|
||||
#define Data32(dpy, data, len) Data((dpy), (_Xconst char *)(data), (long)(len))
|
||||
#define _XRead32(dpy, data, len) _XRead((dpy), (char *)(data), (len))
|
||||
#endif
|
||||
|
||||
|
@ -1319,12 +1324,6 @@ struct _XConnWatchInfo { /* info from XAddConnectionWatch */
|
|||
struct _XConnWatchInfo *next;
|
||||
};
|
||||
|
||||
#ifdef __UNIXOS2__
|
||||
extern char* __XOS2RedirRoot(
|
||||
char*
|
||||
);
|
||||
#endif
|
||||
|
||||
extern int _XTextHeight(
|
||||
XFontStruct* /* font_struct */,
|
||||
_Xconst char* /* string */,
|
||||
|
|
|
@ -404,11 +404,11 @@ extern int XDestroyRegion(
|
|||
Region /* r */
|
||||
);
|
||||
|
||||
extern int XEmptyRegion(
|
||||
extern Bool XEmptyRegion(
|
||||
Region /* r */
|
||||
);
|
||||
|
||||
extern int XEqualRegion(
|
||||
extern Bool XEqualRegion(
|
||||
Region /* r1 */,
|
||||
Region /* r2 */
|
||||
);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2011-11-20.07; # UTC
|
||||
scriptversion=2020-11-14.01; # UTC
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
|
@ -41,19 +41,15 @@ scriptversion=2011-11-20.07; # UTC
|
|||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
|
||||
tab=' '
|
||||
nl='
|
||||
'
|
||||
IFS=" "" $nl"
|
||||
IFS=" $tab$nl"
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
# Set DOITPROG to "echo" to test this script.
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit=${DOITPROG-}
|
||||
if test -z "$doit"; then
|
||||
doit_exec=exec
|
||||
else
|
||||
doit_exec=$doit
|
||||
fi
|
||||
doit_exec=${doit:-exec}
|
||||
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
@ -68,22 +64,16 @@ mvprog=${MVPROG-mv}
|
|||
rmprog=${RMPROG-rm}
|
||||
stripprog=${STRIPPROG-strip}
|
||||
|
||||
posix_glob='?'
|
||||
initialize_posix_glob='
|
||||
test "$posix_glob" != "?" || {
|
||||
if (set -f) 2>/dev/null; then
|
||||
posix_glob=
|
||||
else
|
||||
posix_glob=:
|
||||
fi
|
||||
}
|
||||
'
|
||||
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
# Create dirs (including intermediate dirs) using mode 755.
|
||||
# This is like GNU 'install' as of coreutils 8.32 (2020).
|
||||
mkdir_umask=22
|
||||
|
||||
backupsuffix=
|
||||
chgrpcmd=
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
|
@ -97,7 +87,7 @@ dir_arg=
|
|||
dst_arg=
|
||||
|
||||
copy_on_change=false
|
||||
no_target_directory=
|
||||
is_target_a_directory=possibly
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
|
@ -114,18 +104,28 @@ Options:
|
|||
--version display version info and exit.
|
||||
|
||||
-c (ignored)
|
||||
-C install only if different (preserve the last data modification time)
|
||||
-C install only if different (preserve data modification time)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-p pass -p to $cpprog.
|
||||
-s $stripprog installed files.
|
||||
-S SUFFIX attempt to back up existing files, with suffix SUFFIX.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||
RMPROG STRIPPROG
|
||||
|
||||
By default, rm is invoked with -f; when overridden with RMPROG,
|
||||
it's up to you to specify -f if you want it.
|
||||
|
||||
If -S is not specified, no backups are attempted.
|
||||
|
||||
Email bug reports to bug-automake@gnu.org.
|
||||
Automake home page: https://www.gnu.org/software/automake/
|
||||
"
|
||||
|
||||
while test $# -ne 0; do
|
||||
|
@ -137,46 +137,62 @@ while test $# -ne 0; do
|
|||
-d) dir_arg=true;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift;;
|
||||
shift;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) mode=$2
|
||||
case $mode in
|
||||
*' '* | *' '* | *'
|
||||
'* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift;;
|
||||
case $mode in
|
||||
*' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift;;
|
||||
shift;;
|
||||
|
||||
-p) cpprog="$cpprog -p";;
|
||||
|
||||
-s) stripcmd=$stripprog;;
|
||||
|
||||
-t) dst_arg=$2
|
||||
# Protect names problematic for 'test' and other utilities.
|
||||
case $dst_arg in
|
||||
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||
esac
|
||||
shift;;
|
||||
-S) backupsuffix="$2"
|
||||
shift;;
|
||||
|
||||
-T) no_target_directory=true;;
|
||||
-t)
|
||||
is_target_a_directory=always
|
||||
dst_arg=$2
|
||||
# Protect names problematic for 'test' and other utilities.
|
||||
case $dst_arg in
|
||||
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-T) is_target_a_directory=never;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
--) shift
|
||||
break;;
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
# We allow the use of options -d and -T together, by making -d
|
||||
# take the precedence; this is for compatibility with GNU install.
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
if test -n "$dst_arg"; then
|
||||
echo "$0: target directory not allowed when installing a directory." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
|
@ -207,6 +223,15 @@ if test $# -eq 0; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
if test $# -gt 1 || test "$is_target_a_directory" = always; then
|
||||
if test ! -d "$dst_arg"; then
|
||||
echo "$0: $dst_arg: Is not a directory." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
do_exit='(exit $ret); exit $ret'
|
||||
trap "ret=129; $do_exit" 1
|
||||
|
@ -223,16 +248,16 @@ if test -z "$dir_arg"; then
|
|||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
|
@ -250,6 +275,10 @@ do
|
|||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
# Don't chown directories that already exist.
|
||||
if test $dstdir_status = 0; then
|
||||
chowncmd=""
|
||||
fi
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
|
@ -266,178 +295,148 @@ do
|
|||
fi
|
||||
dst=$dst_arg
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
# If destination is a directory, append the input filename.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dst_arg: Is a directory" >&2
|
||||
exit 1
|
||||
if test "$is_target_a_directory" = never; then
|
||||
echo "$0: $dst_arg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstbase=`basename "$src"`
|
||||
case $dst in
|
||||
*/) dst=$dst$dstbase;;
|
||||
*) dst=$dst/$dstbase;;
|
||||
esac
|
||||
dstdir_status=0
|
||||
else
|
||||
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||
dstdir=`
|
||||
(dirname "$dst") 2>/dev/null ||
|
||||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
X"$dst" : 'X\(//\)[^/]' \| \
|
||||
X"$dst" : 'X\(//\)$' \| \
|
||||
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||
echo X"$dst" |
|
||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)[^/].*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\).*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
s/.*/./; q'
|
||||
`
|
||||
|
||||
dstdir=`dirname "$dst"`
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
case $dstdir in
|
||||
*/) dstdirslash=$dstdir;;
|
||||
*) dstdirslash=$dstdir/;;
|
||||
esac
|
||||
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
posix_mkdir=false
|
||||
# The $RANDOM variable is not portable (e.g., dash). Use it
|
||||
# here however when possible just to lower collision chance.
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
trap '
|
||||
ret=$?
|
||||
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
|
||||
exit $ret
|
||||
' 0
|
||||
|
||||
# Because "mkdir -p" follows existing symlinks and we likely work
|
||||
# directly in world-writeable /tmp, make sure that the '$tmpdir'
|
||||
# directory is successfully created first before we actually test
|
||||
# 'mkdir -p'.
|
||||
if (umask $mkdir_umask &&
|
||||
$mkdirprog $mkdir_mode "$tmpdir" &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
test_tmpdir="$tmpdir/a"
|
||||
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
|
||||
else
|
||||
mkdir_mode=
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
||||
fi
|
||||
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
trap '' 0;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix='/';;
|
||||
[-=\(\)!]*) prefix='./';;
|
||||
*) prefix='';;
|
||||
/*) prefix='/';;
|
||||
[-=\(\)!]*) prefix='./';;
|
||||
*) prefix='';;
|
||||
esac
|
||||
|
||||
eval "$initialize_posix_glob"
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
$posix_glob set -f
|
||||
set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
$posix_glob set +f
|
||||
set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test X"$d" = X && continue
|
||||
test X"$d" = X && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -450,14 +449,25 @@ do
|
|||
else
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
dsttmp=${dstdirslash}_inst.$$_
|
||||
rmtmp=${dstdirslash}_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
(umask $cp_umask &&
|
||||
{ test -z "$stripcmd" || {
|
||||
# Create $dsttmp read-write so that cp doesn't create it read-only,
|
||||
# which would cause strip to fail.
|
||||
if test -z "$doit"; then
|
||||
: >"$dsttmp" # No need to fork-exec 'touch'.
|
||||
else
|
||||
$doit touch "$dsttmp"
|
||||
fi
|
||||
}
|
||||
} &&
|
||||
$doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
|
@ -472,20 +482,24 @@ do
|
|||
|
||||
# If -C, don't bother to copy if it wouldn't change the file.
|
||||
if $copy_on_change &&
|
||||
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||
|
||||
eval "$initialize_posix_glob" &&
|
||||
$posix_glob set -f &&
|
||||
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||
set -f &&
|
||||
set X $old && old=:$2:$4:$5:$6 &&
|
||||
set X $new && new=:$2:$4:$5:$6 &&
|
||||
$posix_glob set +f &&
|
||||
|
||||
set +f &&
|
||||
test "$old" = "$new" &&
|
||||
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||
then
|
||||
rm -f "$dsttmp"
|
||||
else
|
||||
# If $backupsuffix is set, and the file being installed
|
||||
# already exists, attempt a backup. Don't worry if it fails,
|
||||
# e.g., if mv doesn't support -f.
|
||||
if test -n "$backupsuffix" && test -f "$dst"; then
|
||||
$doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
|
||||
fi
|
||||
|
||||
# Rename the file to the real destination.
|
||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||
|
||||
|
@ -493,24 +507,24 @@ do
|
|||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
{
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
test ! -f "$dst" ||
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||
} ||
|
||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
} &&
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
test ! -f "$dst" ||
|
||||
$doit $rmcmd "$dst" 2>/dev/null ||
|
||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||
{ $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
|
||||
} ||
|
||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
fi || exit 1
|
||||
|
||||
|
@ -519,9 +533,9 @@ do
|
|||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-time-zone: "UTC0"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 2009 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 2009, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
|
|
@ -257,6 +257,7 @@ STRICT_CFLAGS = @STRICT_CFLAGS@
|
|||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
TRADITIONALCPPFLAGS = @TRADITIONALCPPFLAGS@
|
||||
USE_THREAD_LIBS = @USE_THREAD_LIBS@
|
||||
VERSION = @VERSION@
|
||||
WCHAR32 = @WCHAR32@
|
||||
X11_CFLAGS = @X11_CFLAGS@
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
.\"
|
||||
.\" X Window System is a trademark of The Open Group.
|
||||
.\"
|
||||
.\" Copyright 2004 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 2004, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
|
|
@ -115,7 +115,7 @@ structure contains:
|
|||
.LP
|
||||
/\&* Visual information mask bits */
|
||||
.TS
|
||||
lw(.5i) lw(2.5i) lw(.8i).
|
||||
lw(10) lw(2.5i) lw(.8i).
|
||||
T{
|
||||
\&#define
|
||||
T} T{
|
||||
|
|
|
@ -52,6 +52,8 @@ XInitThreads, XLockDisplay, XUnlockDisplay \- multi-threading support
|
|||
.HP
|
||||
Status XInitThreads\^(void);
|
||||
.HP
|
||||
Status XFreeThreads\^(void);
|
||||
.HP
|
||||
void XLockDisplay\^(\^Display *\fIdisplay\fP\^);
|
||||
.HP
|
||||
void XUnlockDisplay\^(\^Display *\fIdisplay\fP\^);
|
||||
|
@ -76,7 +78,11 @@ are protected by some other access mechanism (for example,
|
|||
a mutual exclusion lock in a toolkit or through explicit client
|
||||
programming), Xlib thread initialization is not required.
|
||||
It is recommended that single-threaded programs not call this function.
|
||||
|
||||
.LP
|
||||
The
|
||||
.B XFreeThreads
|
||||
function frees the memory allocated by
|
||||
.BR XInitThreads .
|
||||
.LP
|
||||
The
|
||||
.B XLockDisplay
|
||||
|
|
|
@ -139,7 +139,8 @@ returns NULL if no input method could be opened.
|
|||
.LP
|
||||
The
|
||||
.B XCloseIM
|
||||
function closes the specified input method.
|
||||
function closes the specified input method and frees the memory pointed
|
||||
to by the im argument.
|
||||
.LP
|
||||
The
|
||||
.B XSetIMValues
|
||||
|
|
|
@ -116,3 +116,81 @@ Other negative values generate a
|
|||
error.
|
||||
If the timeout value is nonzero,
|
||||
.B XSetScreenSaver
|
||||
enables the screen saver.
|
||||
An interval of 0 disables the random-pattern motion.
|
||||
Both values are limited to a 16-bit signed integer range by the wire protocol,
|
||||
despite the C prototype.
|
||||
If no input from devices (keyboard, mouse, and so on) is generated
|
||||
for the specified number of timeout seconds once the screen saver is enabled,
|
||||
the screen saver is activated.
|
||||
.LP
|
||||
For each screen,
|
||||
if blanking is preferred and the hardware supports video blanking,
|
||||
the screen simply goes blank.
|
||||
Otherwise, if either exposures are allowed or the screen can be regenerated
|
||||
without sending
|
||||
.B Expose
|
||||
events to clients,
|
||||
the screen is tiled with the root window background tile randomly
|
||||
re-origined each interval seconds.
|
||||
Otherwise, the screens' states do not change,
|
||||
and the screen saver is not activated.
|
||||
The screen saver is deactivated,
|
||||
and all screen states are restored at the next
|
||||
keyboard or pointer input or at the next call to
|
||||
.B XForceScreenSaver
|
||||
with mode
|
||||
.BR ScreenSaverReset .
|
||||
.LP
|
||||
If the server-dependent screen saver method supports periodic change,
|
||||
the interval argument serves as a hint about how long the change period
|
||||
should be, and zero hints that no periodic change should be made.
|
||||
Examples of ways to change the screen include scrambling the colormap
|
||||
periodically, moving an icon image around the screen periodically, or tiling
|
||||
the screen with the root window background tile, randomly re-origined
|
||||
periodically.
|
||||
.LP
|
||||
.B XSetScreenSaver
|
||||
can generate a
|
||||
.B BadValue
|
||||
error.
|
||||
.LP
|
||||
If the specified mode is
|
||||
.B ScreenSaverActive
|
||||
and the screen saver currently is deactivated,
|
||||
.B XForceScreenSaver
|
||||
activates the screen saver even if the screen saver had been disabled
|
||||
with a timeout of zero.
|
||||
If the specified mode is
|
||||
.B ScreenSaverReset
|
||||
and the screen saver currently is enabled,
|
||||
.B XForceScreenSaver
|
||||
deactivates the screen saver if it was activated,
|
||||
and the activation timer is reset to its initial state
|
||||
(as if device input had been received).
|
||||
.LP
|
||||
.B XForceScreenSaver
|
||||
can generate a
|
||||
.B BadValue
|
||||
error.
|
||||
.LP
|
||||
The
|
||||
.B XActivateScreenSaver
|
||||
function activates the screen saver.
|
||||
.LP
|
||||
The
|
||||
.B XResetScreenSaver
|
||||
function resets the screen saver.
|
||||
.LP
|
||||
The
|
||||
.B XGetScreenSaver
|
||||
function gets the current screen saver values.
|
||||
.SH DIAGNOSTICS
|
||||
.TP 1i
|
||||
.B BadValue
|
||||
Some numeric value falls outside the range of values accepted by the request.
|
||||
Unless a specific range is specified for an argument, the full range defined
|
||||
by the argument's type is accepted. Any argument defined as a set of
|
||||
alternatives can generate this error.
|
||||
.SH "SEE ALSO"
|
||||
\fI\*(xL\fP
|
||||
|
|
|
@ -20,7 +20,6 @@ libman_PRE = \
|
|||
XkbAllocCompatMap.man \
|
||||
XkbAllocControls.man \
|
||||
XkbAllocDeviceInfo.man \
|
||||
XkbAllocDeviceLedInfo.man \
|
||||
XkbAllocGeomColors.man \
|
||||
XkbAllocGeomDoodads.man \
|
||||
XkbAllocGeomKeyAliases.man \
|
||||
|
@ -46,7 +45,6 @@ libman_PRE = \
|
|||
XkbChangeControls.man \
|
||||
XkbChangeDeviceInfo.man \
|
||||
XkbChangeEnabledControls.man \
|
||||
XkbChangeIndicators.man \
|
||||
XkbChangeMap.man \
|
||||
XkbChangeNames.man \
|
||||
XkbChangeTypesOfKey.man \
|
||||
|
@ -84,10 +82,8 @@ libman_PRE = \
|
|||
XkbFreeKeyboard.man \
|
||||
XkbFreeNames.man \
|
||||
XkbFreeServerMap.man \
|
||||
XkbGetAccessXTimeout.man \
|
||||
XkbGetAutoRepeatRate.man \
|
||||
XkbGetAutoResetControls.man \
|
||||
XkbGetBounceKeysDelay.man \
|
||||
XkbGetCompatMap.man \
|
||||
XkbGetControls.man \
|
||||
XkbGetControlsChanges.man \
|
||||
|
@ -97,7 +93,6 @@ libman_PRE = \
|
|||
XkbGetDeviceInfoChanges.man \
|
||||
XkbGetDeviceLedInfo.man \
|
||||
XkbGetGeometry.man \
|
||||
XkbGetIndicatorChanges.man \
|
||||
XkbGetIndicatorMap.man \
|
||||
XkbGetIndicatorState.man \
|
||||
XkbGetKeyActions.man \
|
||||
|
@ -110,14 +105,11 @@ libman_PRE = \
|
|||
XkbGetKeyboard.man \
|
||||
XkbGetKeyboardByName.man \
|
||||
XkbGetMap.man \
|
||||
XkbGetNameChanges.man \
|
||||
XkbGetNamedDeviceIndicator.man \
|
||||
XkbGetNamedGeometry.man \
|
||||
XkbGetNamedIndicator.man \
|
||||
XkbGetNames.man \
|
||||
XkbGetSlowKeysDelay.man \
|
||||
XkbGetState.man \
|
||||
XkbGetStickyKeysOptions.man \
|
||||
XkbGetUpdatedMap.man \
|
||||
XkbGetVirtualMods.man \
|
||||
XkbGetXlibControls.man \
|
||||
|
@ -130,14 +122,13 @@ libman_PRE = \
|
|||
XkbKeyGroupWidth.man \
|
||||
XkbKeyGroupsWidth.man \
|
||||
XkbKeyHasActions.man \
|
||||
XkbKeyKeyType.man \
|
||||
XkbKeyKeyTypeIndex.man \
|
||||
XkbKeyNumActions.man \
|
||||
XkbKeyNumGroups.man \
|
||||
XkbKeyNumSyms.man \
|
||||
XkbKeySymEntry.man \
|
||||
XkbKeySymsOffset.man \
|
||||
XkbKeySymsPtr.man \
|
||||
XkbKeyType.man \
|
||||
XkbKeyTypeIndex.man \
|
||||
XkbKeyTypesForCoreSymbols.man \
|
||||
XkbKeycodeToKeysym.man \
|
||||
XkbKeysymToModifiers.man \
|
||||
|
@ -152,7 +143,6 @@ libman_PRE = \
|
|||
XkbModActionVMods.man \
|
||||
XkbNoteControlsChanges.man \
|
||||
XkbNoteDeviceChanges.man \
|
||||
XkbNoteIndicatorChanges.man \
|
||||
XkbNoteNameChanges.man \
|
||||
XkbOpenDisplay.man \
|
||||
XkbOutOfRangeGroupInfo.man \
|
||||
|
@ -165,7 +155,7 @@ libman_PRE = \
|
|||
XkbResizeKeyActions.man \
|
||||
XkbResizeKeySyms.man \
|
||||
XkbResizeKeyType.man \
|
||||
XkbSAActionSetCtrls.man \
|
||||
XkbActionSetCtrls.man \
|
||||
XkbSAGroup.man \
|
||||
XkbSAPtrDfltValue.man \
|
||||
XkbSARedirectSetVMods.man \
|
||||
|
@ -178,10 +168,8 @@ libman_PRE = \
|
|||
XkbSASetScreen.man \
|
||||
XkbSelectEventDetails.man \
|
||||
XkbSelectEvents.man \
|
||||
XkbSetAccessXTimeout.man \
|
||||
XkbSetAutoRepeatRate.man \
|
||||
XkbSetAutoResetControls.man \
|
||||
XkbSetBounceKeysDelay.man \
|
||||
XkbSetCompatMap.man \
|
||||
XkbSetControls.man \
|
||||
XkbSetDebuggingFlags.man \
|
||||
|
|
|
@ -217,6 +217,7 @@ STRICT_CFLAGS = @STRICT_CFLAGS@
|
|||
STRIP = @STRIP@
|
||||
STYLESHEET_SRCDIR = @STYLESHEET_SRCDIR@
|
||||
TRADITIONALCPPFLAGS = @TRADITIONALCPPFLAGS@
|
||||
USE_THREAD_LIBS = @USE_THREAD_LIBS@
|
||||
VERSION = @VERSION@
|
||||
WCHAR32 = @WCHAR32@
|
||||
X11_CFLAGS = @X11_CFLAGS@
|
||||
|
@ -317,7 +318,6 @@ libman_PRE = \
|
|||
XkbAllocCompatMap.man \
|
||||
XkbAllocControls.man \
|
||||
XkbAllocDeviceInfo.man \
|
||||
XkbAllocDeviceLedInfo.man \
|
||||
XkbAllocGeomColors.man \
|
||||
XkbAllocGeomDoodads.man \
|
||||
XkbAllocGeomKeyAliases.man \
|
||||
|
@ -343,7 +343,6 @@ libman_PRE = \
|
|||
XkbChangeControls.man \
|
||||
XkbChangeDeviceInfo.man \
|
||||
XkbChangeEnabledControls.man \
|
||||
XkbChangeIndicators.man \
|
||||
XkbChangeMap.man \
|
||||
XkbChangeNames.man \
|
||||
XkbChangeTypesOfKey.man \
|
||||
|
@ -381,10 +380,8 @@ libman_PRE = \
|
|||
XkbFreeKeyboard.man \
|
||||
XkbFreeNames.man \
|
||||
XkbFreeServerMap.man \
|
||||
XkbGetAccessXTimeout.man \
|
||||
XkbGetAutoRepeatRate.man \
|
||||
XkbGetAutoResetControls.man \
|
||||
XkbGetBounceKeysDelay.man \
|
||||
XkbGetCompatMap.man \
|
||||
XkbGetControls.man \
|
||||
XkbGetControlsChanges.man \
|
||||
|
@ -394,7 +391,6 @@ libman_PRE = \
|
|||
XkbGetDeviceInfoChanges.man \
|
||||
XkbGetDeviceLedInfo.man \
|
||||
XkbGetGeometry.man \
|
||||
XkbGetIndicatorChanges.man \
|
||||
XkbGetIndicatorMap.man \
|
||||
XkbGetIndicatorState.man \
|
||||
XkbGetKeyActions.man \
|
||||
|
@ -407,14 +403,11 @@ libman_PRE = \
|
|||
XkbGetKeyboard.man \
|
||||
XkbGetKeyboardByName.man \
|
||||
XkbGetMap.man \
|
||||
XkbGetNameChanges.man \
|
||||
XkbGetNamedDeviceIndicator.man \
|
||||
XkbGetNamedGeometry.man \
|
||||
XkbGetNamedIndicator.man \
|
||||
XkbGetNames.man \
|
||||
XkbGetSlowKeysDelay.man \
|
||||
XkbGetState.man \
|
||||
XkbGetStickyKeysOptions.man \
|
||||
XkbGetUpdatedMap.man \
|
||||
XkbGetVirtualMods.man \
|
||||
XkbGetXlibControls.man \
|
||||
|
@ -427,14 +420,13 @@ libman_PRE = \
|
|||
XkbKeyGroupWidth.man \
|
||||
XkbKeyGroupsWidth.man \
|
||||
XkbKeyHasActions.man \
|
||||
XkbKeyKeyType.man \
|
||||
XkbKeyKeyTypeIndex.man \
|
||||
XkbKeyNumActions.man \
|
||||
XkbKeyNumGroups.man \
|
||||
XkbKeyNumSyms.man \
|
||||
XkbKeySymEntry.man \
|
||||
XkbKeySymsOffset.man \
|
||||
XkbKeySymsPtr.man \
|
||||
XkbKeyType.man \
|
||||
XkbKeyTypeIndex.man \
|
||||
XkbKeyTypesForCoreSymbols.man \
|
||||
XkbKeycodeToKeysym.man \
|
||||
XkbKeysymToModifiers.man \
|
||||
|
@ -449,7 +441,6 @@ libman_PRE = \
|
|||
XkbModActionVMods.man \
|
||||
XkbNoteControlsChanges.man \
|
||||
XkbNoteDeviceChanges.man \
|
||||
XkbNoteIndicatorChanges.man \
|
||||
XkbNoteNameChanges.man \
|
||||
XkbOpenDisplay.man \
|
||||
XkbOutOfRangeGroupInfo.man \
|
||||
|
@ -462,7 +453,7 @@ libman_PRE = \
|
|||
XkbResizeKeyActions.man \
|
||||
XkbResizeKeySyms.man \
|
||||
XkbResizeKeyType.man \
|
||||
XkbSAActionSetCtrls.man \
|
||||
XkbActionSetCtrls.man \
|
||||
XkbSAGroup.man \
|
||||
XkbSAPtrDfltValue.man \
|
||||
XkbSARedirectSetVMods.man \
|
||||
|
@ -475,10 +466,8 @@ libman_PRE = \
|
|||
XkbSASetScreen.man \
|
||||
XkbSelectEventDetails.man \
|
||||
XkbSelectEvents.man \
|
||||
XkbSetAccessXTimeout.man \
|
||||
XkbSetAutoRepeatRate.man \
|
||||
XkbSetAutoResetControls.man \
|
||||
XkbSetBounceKeysDelay.man \
|
||||
XkbSetCompatMap.man \
|
||||
XkbSetControls.man \
|
||||
XkbSetDebuggingFlags.man \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,7 +31,7 @@ XkbActionCtrls \- Returns the ctrls fields of act converted to an unsigned int
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- act
|
||||
.I act
|
||||
action from which to extract controls
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -20,9 +20,9 @@
|
|||
.\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
.\" DEALINGS IN THE SOFTWARE.
|
||||
.\"
|
||||
.TH XkbSAActionSetCtrls __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
|
||||
.TH XkbActionSetCtrls __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
|
||||
.SH NAME
|
||||
XkbSAActionSetCtrls \- Sets the
|
||||
XkbActionSetCtrls \- Sets the
|
||||
.I ctrls0
|
||||
through
|
||||
.I ctrls3
|
||||
|
@ -32,17 +32,17 @@ from
|
|||
.I ctrls
|
||||
.SH SYNOPSIS
|
||||
.HP
|
||||
.B void XkbSAActionSetCtrls
|
||||
.B void XkbActionSetCtrls
|
||||
.BI "(\^XkbCtrlsAction " "act" "\^,"
|
||||
.BI "unsigned int " "ctrls" "\^);"
|
||||
.if n .ti +5n
|
||||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- act
|
||||
.I act
|
||||
action in which to set ctrls0-ctrls3
|
||||
.TP
|
||||
.I \- ctrls
|
||||
.I ctrls
|
||||
value to set in ctrls0-ctrls3
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
@ -121,7 +121,7 @@ fields represent the boolean controls in the
|
|||
.I enabled_ctrls
|
||||
field of the controls structure. Xkb macros, to convert between the two formats.
|
||||
|
||||
.I XkbSAActionSetCtrls
|
||||
.I XkbActionSetCtrls
|
||||
sets the
|
||||
.I ctrls0
|
||||
through
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ XkbAddDeviceLedInfo \- Initialize an XkbDeviceLedInfoRec structure
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- device_info
|
||||
.I device_info
|
||||
structure in which to add LED info
|
||||
.TP
|
||||
.I \- led_class
|
||||
.I led_class
|
||||
input extension class for LED device of interest
|
||||
.TP
|
||||
.I \- led_id
|
||||
.I led_id
|
||||
input extension ID for LED device of interest
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ description
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry to be updated
|
||||
.TP
|
||||
.I \- spec
|
||||
.I spec
|
||||
color to be added
|
||||
.TP
|
||||
.I \- pixel
|
||||
.I pixel
|
||||
color to be added
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ top-level geometry
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry to which the doodad is added
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section, if any, to which the doodad is added
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
name of the new doodad
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -30,7 +30,7 @@ XkbAddGeomKey \- Add one key at the end of an existing row of keys
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- row
|
||||
.I row
|
||||
row to be updated
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ description
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry to be updated
|
||||
.TP
|
||||
.I \- alias
|
||||
.I alias
|
||||
alias to be added
|
||||
.TP
|
||||
.I \- real
|
||||
.I real
|
||||
real name to be bound to the new alias
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAddGeomOutline \- Add one outline to an existing shape
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- shape
|
||||
.I shape
|
||||
shape to be updated
|
||||
.TP
|
||||
.I \- sz_points
|
||||
.I sz_points
|
||||
number of points to be reserved
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,13 +32,13 @@ XkbAddGeomOverlay \- Add one overlay to a section
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section to which an overlay will be added
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
name of the overlay
|
||||
.TP
|
||||
.I \- sz_rows
|
||||
.I sz_rows
|
||||
number of rows to reserve in the overlay
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ XkbAddGeomOverlayKey \- Add a key to an existing overlay row
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- overlay
|
||||
.I overlay
|
||||
overlay to be updated
|
||||
.TP
|
||||
.I \- row
|
||||
.I row
|
||||
row in overlay to be updated
|
||||
.TP
|
||||
.I \- under
|
||||
.I under
|
||||
primary name of the key to be considered
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,13 +32,13 @@ XkbAddGeomOverlayRow \- Add a row to an existing overlay
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- overlay
|
||||
.I overlay
|
||||
overlay to be updated
|
||||
.TP
|
||||
.I \- row_under
|
||||
.I row_under
|
||||
row to be overlaid in the section overlay overlays
|
||||
.TP
|
||||
.I \- sz_keys
|
||||
.I sz_keys
|
||||
number of keys to reserve in the row
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ description
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry to be updated
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
name of the new property
|
||||
.TP
|
||||
.I \- value
|
||||
.I value
|
||||
value for the new property
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAddGeomRow \- Add a row to a section
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section to be updated
|
||||
.TP
|
||||
.I \- sz_keys
|
||||
.I sz_keys
|
||||
number of keys to be reserved
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,19 +34,19 @@ XkbAddGeomSection \- Add one section to an existing keyboard geometry
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry to be updated
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
name of the new section
|
||||
.TP
|
||||
.I \- sz_rows
|
||||
.I sz_rows
|
||||
number of rows to reserve in the section
|
||||
.TP
|
||||
.I \- sz_doodads
|
||||
.I sz_doodads
|
||||
number of doodads to reserve in the section
|
||||
.TP
|
||||
.I \- sz_overlays
|
||||
.I sz_overlays
|
||||
number of overlays to reserve in the section
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,13 +32,13 @@ XkbAddGeomShape \- Add a shape to a keyboard geometry
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry to be updated
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
name of the new shape
|
||||
.TP
|
||||
.I \- sz_outlines
|
||||
.I sz_outlines
|
||||
number of outlines to be reserved
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,16 +34,16 @@ interpretations in an XkbCompatRec
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description to be updated
|
||||
.TP
|
||||
.I \- si
|
||||
.I si
|
||||
symbol interpretation to be added
|
||||
.TP
|
||||
.I \- updateMap
|
||||
.I updateMap
|
||||
True=>apply compatibility map to keys
|
||||
.TP
|
||||
.I \- changes
|
||||
.I changes
|
||||
changes are put here
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,13 +34,13 @@ record
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description in which to allocate client map
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask selecting map components to allocate
|
||||
.TP
|
||||
.I \- type_count
|
||||
.I type_count
|
||||
value of num_types field in map to be allocated
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ XkbAllocCompatMap \- Allocate a new compatibility map if you do not already have
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description in which to allocate compat map
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask of compatibility map components to allocate
|
||||
.TP
|
||||
.I \- num_si
|
||||
.I num_si
|
||||
number of symbol interpretations to allocate
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,10 +32,10 @@ XkbAllocControls \- Allocates an XkbControlsRec structure in the XkbDescRec
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
Xkb description in which to allocate ctrls rec
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask of components of ctrls to allocate
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ XkbAllocDeviceInfo \- Obtain an XkbDeviceInfoRec structure
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- device_spec
|
||||
.I device_spec
|
||||
device ID with which structure will be used
|
||||
.TP
|
||||
.I \- n_buttons
|
||||
.I n_buttons
|
||||
number of button actions to allocate space for
|
||||
.TP
|
||||
.I \- sz_leds
|
||||
.I sz_leds
|
||||
number of LED feedbacks to allocate space for
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
@ -58,10 +58,8 @@ is nonzero,
|
|||
.I sz_leds
|
||||
XkbDeviceLedInfoRec structures are also allocated and linked into the XkbDeviceInfoRec structure. If
|
||||
you request XkbDeviceLedInfoRec structures be allocated using this request, you must initialize them
|
||||
explicitly.
|
||||
|
||||
To obtain an XkbDeviceLedInfoRec structure, use
|
||||
.I XkbAllocDeviceLedInfo.
|
||||
explicitly, by using
|
||||
.BR XkbAddDeviceLedInfo (__libmansuffix__).
|
||||
.SH STRUCTURES
|
||||
.LP
|
||||
Information about X Input Extension devices is transferred between a client program and the Xkb
|
||||
|
@ -97,4 +95,4 @@ extension in an XkbDeviceInfoRec structure:
|
|||
} XkbDeviceLedInfoRec, *XkbDeviceLedInfoPtr;
|
||||
.fi
|
||||
.SH "SEE ALSO"
|
||||
.BR XkbAllocDeviceLedInfo (__libmansuffix__)
|
||||
.BR XkbAddDeviceLedInfo (__libmansuffix__)
|
||||
|
|
|
@ -1,113 +0,0 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" 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
|
||||
.\" Software is furnished to do so, subject to the following conditions:
|
||||
.\"
|
||||
.\" The above copyright notice and this permission notice (including the next
|
||||
.\" paragraph) 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 AUTHORS OR COPYRIGHT HOLDERS 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.
|
||||
.\"
|
||||
.TH XkbAllocDeviceLedInfo __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
|
||||
.SH NAME
|
||||
XkbAllocDeviceLedInfo \- Obtain an XkbDeviceLedInfoRec structure
|
||||
.SH SYNOPSIS
|
||||
.HP
|
||||
.B Status XkbAllocDeviceLedInfo
|
||||
.BI "(\^XkbDeviceInfoPtr " "device_info" "\^,"
|
||||
.BI "int " "num_needed" "\^);"
|
||||
.if n .ti +5n
|
||||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- device_info
|
||||
structure in which to allocate LED space
|
||||
.TP
|
||||
.I \- num_needed
|
||||
number of indicators to allocate space for
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
.I XkbAllocDeviceLedInfo
|
||||
allocates space for an XkbDeviceLedInfoRec and places it in
|
||||
.I device_info.
|
||||
If
|
||||
.I num_needed
|
||||
is nonzero,
|
||||
.I num_needed
|
||||
XkbIndicatorMapRec structures are also allocated and linked into the XkbDeviceLedInfoRec structure. If you request XkbIndicatorMapRec structures be allocated using this request, you must initialize them explicitly. All other fields are initialized to zero.
|
||||
|
||||
To initialize an XkbDeviceLedInfoRec structure, use
|
||||
.I XkbAddDeviceLedInfo.
|
||||
.SH STRUCTURES
|
||||
.LP
|
||||
Information about X Input Extension devices is transferred between a client program and the Xkb
|
||||
extension in an XkbDeviceInfoRec structure:
|
||||
.nf
|
||||
|
||||
typedef struct {
|
||||
char * name; /\&* name for device */
|
||||
Atom type; /\&* name for class of devices */
|
||||
unsigned short device_spec; /\&* device of interest */
|
||||
Bool has_own_state; /\&* True=>this device has its own state */
|
||||
unsigned short supported; /\&* bits indicating supported capabilities */
|
||||
unsigned short unsupported; /\&* bits indicating unsupported capabilities */
|
||||
unsigned short num_btns; /\&* number of entries in btn_acts */
|
||||
XkbAction * btn_acts; /\&* button actions */
|
||||
unsigned short sz_leds; /\&* total number of entries in LEDs vector */
|
||||
unsigned short num_leds; /\&* number of valid entries in LEDs vector */
|
||||
unsigned short dflt_kbd_fb; /\&* input extension ID of default (core kbd) indicator */
|
||||
unsigned short dflt_led_fb; /\&* input extension ID of default indicator feedback */
|
||||
XkbDeviceLedInfoPtr leds; /\&* LED descriptions */
|
||||
} XkbDeviceInfoRec, *XkbDeviceInfoPtr;
|
||||
|
||||
|
||||
typedef struct {
|
||||
unsigned short led_class; /\&* class for this LED device*/
|
||||
unsigned short led_id; /\&* ID for this LED device */
|
||||
unsigned int phys_indicators; /\&* bits for which LEDs physically present */
|
||||
unsigned int maps_present; /\&* bits for which LEDs have maps in maps */
|
||||
unsigned int names_present; /\&* bits for which LEDs are in names */
|
||||
unsigned int state; /\&* 1 bit => corresponding LED is on */
|
||||
Atom names[XkbNumIndicators]; /\&* names for LEDs */
|
||||
XkbIndicatorMapRec maps; /\&* indicator maps for each LED */
|
||||
} XkbDeviceLedInfoRec, *XkbDeviceLedInfoPtr;
|
||||
|
||||
.fi
|
||||
Each indicator has its own set of attributes that specify whether clients can explicitly set its state and whether it tracks the keyboard state. The attributes of each indicator are held in the maps array, which is an array of XkbIndicatorRec structures:
|
||||
.nf
|
||||
|
||||
typedef struct {
|
||||
unsigned char flags; /\&* how the indicator can be changed */
|
||||
unsigned char which_groups; /\&* match criteria for groups */
|
||||
unsigned char groups; /\&* which keyboard groups the indicator watches */
|
||||
unsigned char which_mods; /\&* match criteria for modifiers */
|
||||
XkbModsRec mods; /\&* which modifiers the indicator watches */
|
||||
unsigned int ctrls; /\&* which controls the indicator watches */
|
||||
} XkbIndicatorMapRec, *XkbIndicatorMapPtr;
|
||||
|
||||
.fi
|
||||
This indicator map specifies for each indicator:
|
||||
|
||||
.IP \(bu 5
|
||||
The conditions under which the keyboard modifier state affects the indicator
|
||||
.IP \(bu 5
|
||||
The conditions under which the keyboard group state affects the indicator
|
||||
.IP \(bu 5
|
||||
The conditions under which the state of the boolean controls affects the indicator
|
||||
.IP \(bu 5
|
||||
The effect (if any) of attempts to explicitly change the state of the indicator using the functions XkbSetControls or XChangeKeyboardControl
|
||||
.SH "SEE ALSO"
|
||||
.BR XkbAddDeviceLedInfo (__libmansuffix__),
|
||||
.BR XkbSetControls (__libmansuffix__)
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomColors \- Allocate geometry colors
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry for which colors should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new colors required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,10 +32,10 @@ XkbAllocGeomDoodads \- Allocate doodads that are global to a keyboard geometry
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry for which doodads should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new doodads required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomKeyAliases \- Allocate geometry key aliases
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry for which key aliases should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new key aliases required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomKeys \- Allocate space for an arbitrary number of keys to a row
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- row
|
||||
.I row
|
||||
row to which keys should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new keys required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,10 +32,10 @@ shape
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- shape
|
||||
.I shape
|
||||
shape for which outlines should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new outlines required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,10 +32,10 @@ XkbAllocGeomOverlayKeys \- Allocate keys in an overlay row
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- row
|
||||
.I row
|
||||
section for which rows should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new rows required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomOverlayRows \- Allocate rows in a overlay
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- overlay
|
||||
.I overlay
|
||||
section for which rows should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new rows required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomOverlays \- Allocate overlays in a section
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section for which overlays should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new overlays required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomPoints \- Allocate points in an outline
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- outline
|
||||
.I outline
|
||||
outline for which points should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new points required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,11 +31,11 @@ XkbAllocGeomProps \- Allocate geometry properties
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
_summary_
|
||||
.I geom
|
||||
geometry for which properties should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
_summary_
|
||||
.I num_needed
|
||||
number of new properties required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
Xkb provides a number of functions to allocate and free subcomponents of a
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomRows \- Allocate rows in a section
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section for which rows should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new rows required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,10 +32,10 @@ XkbAllocGeomSectionDoodads \- Allocate doodads that are specific to a section
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section for which doodads should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new doodads required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomSections \- Allocate geometry sections
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry for which sections should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new sections required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbAllocGeomShapes \- Allocate space for an arbitrary number of geometry shapes
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry for which shapes should be allocated
|
||||
.TP
|
||||
.I \- num_needed
|
||||
.I num_needed
|
||||
number of new shapes required
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,10 +32,10 @@ XkbAllocGeometry \- Allocate an entire geometry
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description for which geometry is to be allocated
|
||||
.TP
|
||||
.I \- sizes
|
||||
.I sizes
|
||||
initial sizes for all geometry components
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,7 +32,7 @@ member of the keyboard description record
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description structure
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,16 +34,16 @@ XkbAllocNames \- Allocate symbolic names structures
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description for which names are to be allocated
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask of names to be allocated
|
||||
.TP
|
||||
.I \- num_rg
|
||||
.I num_rg
|
||||
total number of radio group names needed
|
||||
.TP
|
||||
.I \- num_key_aliases
|
||||
.I num_key_aliases
|
||||
total number of key aliases needed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ XkbAllocServerMap \- Allocate and initialize an empty server map description rec
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description in which to allocate server map
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask selecting map components to allocate
|
||||
.TP
|
||||
.I \- count_acts
|
||||
.I count_acts
|
||||
value of num_acts field in map to be allocated
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,13 +34,13 @@ key to get its semantics updated
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description to be updated
|
||||
.TP
|
||||
.I \- key
|
||||
.I key
|
||||
key to be updated
|
||||
.TP
|
||||
.I \- changes
|
||||
.I changes
|
||||
notes changes to the Xkb keyboard description
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,16 +34,16 @@ XkbBell \- Rings the bell on the default keyboard
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- display
|
||||
.I display
|
||||
connection to the X server
|
||||
.TP
|
||||
.I \- window
|
||||
.I window
|
||||
event window, or None
|
||||
.TP
|
||||
.I \- percent
|
||||
.I percent
|
||||
relative volume, which can range from -100 to 100 inclusive
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
a bell name, or NULL
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -35,16 +35,16 @@ without ringing the bell
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- display
|
||||
.I display
|
||||
connection to the X server
|
||||
.TP
|
||||
.I \- window
|
||||
.I window
|
||||
the event window, or None
|
||||
.TP
|
||||
.I \- percent,
|
||||
.I percent
|
||||
relative volume, which can range from -100 to 100 inclusive
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
a bell name, or NULL
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -312,7 +312,6 @@ typedef struct _XkbControlsChanges {
|
|||
XkbChangeControls(__libmansuffix__),
|
||||
XkbChangeDeviceInfo(__libmansuffix__),
|
||||
XkbChangeEnabledControls(__libmansuffix__),
|
||||
XkbChangeIndicators(__libmansuffix__),
|
||||
XkbChangeMap(__libmansuffix__),
|
||||
XkbChangeNames(__libmansuffix__),
|
||||
XkbChangeTypesOfKey(__libmansuffix__)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,13 +34,13 @@ XkbDeviceChangesRec
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- dpy
|
||||
.I dpy
|
||||
connection to X server
|
||||
.TP
|
||||
.I \- device_info
|
||||
.I device_info
|
||||
local copy of device state and configuration
|
||||
.TP
|
||||
.I \- changes
|
||||
.I changes
|
||||
note specifying changes in device_info
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,16 +34,16 @@ XkbChangeEnabledControls \- Manipulates the EnabledControls control
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- dpy
|
||||
.I dpy
|
||||
connection to X server
|
||||
.TP
|
||||
.I \- device_spec
|
||||
keyboard device to modify
|
||||
.I device_spec
|
||||
keyboard device to modify
|
||||
.TP
|
||||
.I \- mask
|
||||
.I mask
|
||||
1 bit -> controls to enable / disable
|
||||
.TP
|
||||
.I \- values
|
||||
.I values
|
||||
1 bit => enable, 0 bit => disable
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,156 +0,0 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" 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
|
||||
.\" Software is furnished to do so, subject to the following conditions:
|
||||
.\"
|
||||
.\" The above copyright notice and this permission notice (including the next
|
||||
.\" paragraph) 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 AUTHORS OR COPYRIGHT HOLDERS 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.
|
||||
.\"
|
||||
.TH XkbChangeIndicators __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
|
||||
.SH NAME
|
||||
XkbChangeIndicators \- Changes indicator maps or state without passing the
|
||||
entire keyboard description
|
||||
.SH SYNOPSIS
|
||||
.HP
|
||||
.B Bool XkbChangeIndicators
|
||||
.BI "(\^Display *" "dpy" "\^,"
|
||||
.BI "XkbDescPtr " "xkb" "\^,"
|
||||
.BI "XkbIndicatorChangesPtr " "changes" "\^,"
|
||||
.BI "unsigned int " "state" "\^);"
|
||||
.if n .ti +5n
|
||||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- dpy
|
||||
connection to the X server
|
||||
.TP
|
||||
.I \- xkb
|
||||
keyboard description from which names are to be taken.
|
||||
.TP
|
||||
.I \- changes
|
||||
indicators to be updated on the server
|
||||
.TP
|
||||
.I \- state
|
||||
new state of indicators listed in changes->state_changes
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
The XkbIndicatorChangesRec identifies small modifications to the indicator map.
|
||||
Use it with the function
|
||||
.I XkbChangeIndicators
|
||||
to reduce the amount of traffic sent to the server (see STRUCTURES).
|
||||
|
||||
The
|
||||
.I state_changes
|
||||
field is a mask that specifies the indicators that have changed state, and
|
||||
.I map_changes
|
||||
is a mask that specifies the indicators whose maps have changed.
|
||||
|
||||
.I XkbChangeIndicators
|
||||
copies any maps specified by
|
||||
.I changes
|
||||
from the keyboard description,
|
||||
.I xkb,
|
||||
to the server specified by
|
||||
.I dpy.
|
||||
If any bits are set in the
|
||||
.I state_changes
|
||||
field of
|
||||
.I changes, XkbChangeIndicators
|
||||
also sets the state of those indicators to the values specified in the
|
||||
.I state
|
||||
mask. A 1 bit in
|
||||
.I state
|
||||
turns the corresponding indicator on, a 0 bit turns it off.
|
||||
|
||||
In addition, it can also generate XkbIndicatorStateNotify and
|
||||
XkbIndicatorMapNotify events.
|
||||
|
||||
Whenever an indicator changes state, the server sends XkbIndicatorStateNotify events
|
||||
to all interested clients. Similarly, whenever an indicator's map changes, the
|
||||
server sends XkbIndicatorMapNotify events to all interested clients.
|
||||
|
||||
To receive XkbIndicatorStateNotify events, use
|
||||
.I XkbSelectEvents
|
||||
with both the
|
||||
.I bits_to_change
|
||||
and
|
||||
.I values_for_bits
|
||||
parameters containing XkbIndicatorStateNotifyMask. To receive XkbIndicatorMapNotify
|
||||
events, use
|
||||
.I XkbSelectEvents
|
||||
with XkbIndicatorMapNotifyMask.
|
||||
|
||||
To receive events for only specific indicators, use
|
||||
.I XkbSelectEventDetails.
|
||||
Set the
|
||||
.I event_type
|
||||
parameter to XkbIndicatorStateNotify or XkbIndicatorMapNotify, and set both the
|
||||
.I bits_to_change
|
||||
and
|
||||
.I values_for_bits
|
||||
detail parameters to a mask where each bit specifies one indicator, turning on those
|
||||
bits that specify the indicators for which you want to receive events.
|
||||
|
||||
.I xkb_type
|
||||
is either XkbIndicatorStateNotify or XkbIndicatorMapNotify, depending on whether the
|
||||
event is a kbIndicatorStateNotify event or kbIndicatorMapNotify event.
|
||||
|
||||
The
|
||||
.I changed
|
||||
parameter is a mask that is the bitwise inclusive OR of the indicators that have
|
||||
changed. If the event is of type XkbIndicatorMapNotify,
|
||||
.I changed
|
||||
reports the maps that changed. If the event is of type XkbIndicatorStateNotify,
|
||||
.I changed
|
||||
reports the indicators that have changed state.
|
||||
.I state
|
||||
is a mask that specifies the current state of all indicators, whether they have
|
||||
changed or not, for both XkbIndicatorStateNotify and IndicatorMapNotify events.
|
||||
.SH STRUCTURES
|
||||
.LP
|
||||
.nf
|
||||
typedef struct _XkbIndicatorChanges {
|
||||
unsigned int state_changes;
|
||||
unsigned int map_changes;
|
||||
}XkbIndicatorChangesRec,*XkbIndicatorChangesPtr;
|
||||
|
||||
.fi
|
||||
Both types of indicator events use the same structure:
|
||||
|
||||
.nf
|
||||
typedef struct _XkbIndicatorNotify {
|
||||
int type; /\&* Xkb extension base event code */
|
||||
unsigned long serial; /\&* X server serial number for event */
|
||||
Bool send_event; /\&* True => synthetically generated */
|
||||
Display * display; /\&* server connection where event generated */
|
||||
Time time; /\&* server time when event generated */
|
||||
int xkb_type; /\&* specifies state or map notify */
|
||||
int device; /\&* Xkb device ID, will not be XkbUseCoreKbd*/
|
||||
unsigned int changed; /\&* mask of indicators with new state or map */
|
||||
unsigned int state; /\&* current state of all indicators */
|
||||
} XkbIndicatorNotifyEvent;
|
||||
|
||||
.fi
|
||||
.SH DIAGNOSTICS
|
||||
.TP 15
|
||||
.B BadAtom
|
||||
A name is neither a valid Atom or None
|
||||
.TP 15
|
||||
.B BadImplementation
|
||||
Invalid reply from server
|
||||
.SH "SEE ALSO"
|
||||
.BR XkbIndicatorMapNotify (__libmansuffix__),
|
||||
.BR XkbIndicatorStateNotify (__libmansuffix__)
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -35,13 +35,13 @@ keyboard description
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- dpy
|
||||
.I dpy
|
||||
connection to X server
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
description from which new values are taken
|
||||
.TP
|
||||
.I \- changes
|
||||
.I changes
|
||||
identifies component parts to update
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -22,24 +22,24 @@
|
|||
.\"
|
||||
.TH XkbChangeNames __libmansuffix__ __xorgversion__ "XKB FUNCTIONS"
|
||||
.SH NAME
|
||||
XkbChangeNames \- _summary-line_
|
||||
XkbChangeNames \- Change symbolic names in the server
|
||||
.SH SYNOPSIS
|
||||
.HP
|
||||
.B Bool XkbChangeNames
|
||||
.BI "(\^Display *" "dpy" "\^,"
|
||||
.BI "unsigned int " "which" "\^,"
|
||||
.BI "XkbDescPtr " "Xkb" "\^);"
|
||||
.BI "XkbDescPtr " "xkb" "\^);"
|
||||
.if n .ti +5n
|
||||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- dpy
|
||||
.I dpy
|
||||
connection to the X server
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask of names or map components to be updated
|
||||
.TP
|
||||
.I \- Xkb
|
||||
.I xkb
|
||||
keyboard description to be updated
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -36,22 +36,22 @@ XkbChangeTypesOfKey \- Change the number of groups and the types bound to a key
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description to be changed
|
||||
.TP
|
||||
.I \- key
|
||||
.I key
|
||||
keycode for key of interest
|
||||
.TP
|
||||
.I \- n_groups
|
||||
.I n_groups
|
||||
new number of groups for key
|
||||
.TP
|
||||
.I \- groups
|
||||
.I groups
|
||||
mask indicating groups to change
|
||||
.TP
|
||||
.I \- new_types_in
|
||||
.I new_types_in
|
||||
indices for new groups specified in groups
|
||||
.TP
|
||||
.I \- p_changes
|
||||
.I p_changes
|
||||
notes changes made to xkb
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,13 +32,13 @@ XkbComputeRowBounds \- Update the bounding box of a row
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry that contains the section
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section that contains the row
|
||||
.TP
|
||||
.I \- row
|
||||
.I row
|
||||
row to be examined and updated
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbComputeSectionBounds \- Update the bounding box of a section
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry that contains the section
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section to be examined and updated
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -30,7 +30,7 @@ XkbComputeShapeBounds \- Updates the bounding box of a shape
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- shape
|
||||
.I shape
|
||||
shape to be examined
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbComputeShapeTop \- Determines the bounding box of the top surface of a shape
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- shape
|
||||
.I shape
|
||||
shape to be examined
|
||||
.TP
|
||||
.I \- bounds_rtrn
|
||||
.I bounds_rtrn
|
||||
backfilled with the bounding box for the shape
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -31,10 +31,10 @@ XkbCopyKeyType \- Copy one XkbKeyTypeRec structures
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- from
|
||||
.I from
|
||||
pointer to XkbKeyTypeRec to be copied
|
||||
.TP
|
||||
.I \- into
|
||||
.I into
|
||||
pointer to XkbKeyTypeRec to be changed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,13 +32,13 @@ XkbCopyKeyTypes \- Copy more than one XkbKeyTypeRec structure
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- from
|
||||
.I from
|
||||
pointer to array of XkbKeyTypeRecs to copy
|
||||
.TP
|
||||
.I \- into
|
||||
.I into
|
||||
pointer to array of XkbKeyTypeRecs to change
|
||||
.TP
|
||||
.I \- num_types
|
||||
.I num_types
|
||||
number of types to copy
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -37,25 +37,25 @@ XkbDeviceBell \- Rings the bell on an X input extension device or the default ke
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- display
|
||||
.I display
|
||||
connection to the X server
|
||||
.TP
|
||||
.I \- window
|
||||
.I window
|
||||
window for which the bell is generated, or None
|
||||
.TP
|
||||
.I \- device_spec
|
||||
.I device_spec
|
||||
device ID, or XkbUseCoreKbd
|
||||
.TP
|
||||
.I \- bell_class
|
||||
.I bell_class
|
||||
X input extension bell class of the bell to be rung
|
||||
.TP
|
||||
.I \- bell_id
|
||||
.I bell_id
|
||||
X input extension bell ID of the bell to be rung
|
||||
.TP
|
||||
.I \- percent
|
||||
.I percent
|
||||
bell volume, from -100 to 100 inclusive
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
a name for the bell, or NULL
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -38,25 +38,25 @@ for the keyboard, without ringing the corresponding bell
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- display
|
||||
.I display
|
||||
connection to the X server
|
||||
.TP
|
||||
.I \- window
|
||||
.I window
|
||||
event window, or None
|
||||
.TP
|
||||
.I \- device_spec
|
||||
.I device_spec
|
||||
device ID, or XkbUseCoreKbd
|
||||
.TP
|
||||
.I \- bell_class
|
||||
.I bell_class
|
||||
input extension bell class for the event
|
||||
.TP
|
||||
.I \- bell_id
|
||||
.I bell_id
|
||||
input extension bell ID for the event
|
||||
.TP
|
||||
.I \- percent
|
||||
.I percent
|
||||
volume for the bell, which can range from -100 to 100 inclusive
|
||||
.TP
|
||||
.I \- name
|
||||
.I name
|
||||
a bell name, or NULL
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ key that is part of an overlay
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry that contains the section
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section to be searched for matching keys
|
||||
.TP
|
||||
.I \- under
|
||||
.I under
|
||||
primary name of the key to be considered
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,10 +33,10 @@ bell on the default keyboard
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- display
|
||||
.I display
|
||||
connection to the X server
|
||||
.TP
|
||||
.I \- percent
|
||||
.I percent
|
||||
volume for the bell, which can range from -100 to 100 inclusive
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -37,22 +37,22 @@ settings for audible bells
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- display
|
||||
.I display
|
||||
connection to the X server
|
||||
.TP
|
||||
.I \- window
|
||||
.I window
|
||||
event window, or None
|
||||
.TP
|
||||
.I \- device_spec
|
||||
.I device_spec
|
||||
device ID, or XkbUseCoreKbd
|
||||
.TP
|
||||
.I \- bell_class
|
||||
.I bell_class
|
||||
input extension class of the bell to be rung
|
||||
.TP
|
||||
.I \- bell_id
|
||||
.I bell_id
|
||||
input extension ID of the bell to be rung
|
||||
.TP
|
||||
.I \- percent
|
||||
.I percent
|
||||
relative volume, which can range from -100 to 100 inclusive
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -34,13 +34,13 @@ structure
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
keyboard description containing client map to free
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask identifying components of map to free
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => free all client components and map itself
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ XkbFreeCompatMap \- Free an entire compatibility map or selected portions of one
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
Xkb description in which to free compatibility map
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask of compatibility map components to free
|
||||
.TP
|
||||
.I \- free_map
|
||||
.I free_map
|
||||
True => free XkbCompatMap structure itself
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,7 +32,7 @@ XkbFreeComponentList \- Free the structure returned by
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- list
|
||||
.I list
|
||||
pointer to XkbComponentListRec to free
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ XkbFreeControls \- Frees memory used by the ctrls member of an XkbDescRec struct
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- xkb
|
||||
.I xkb
|
||||
Xkb description in which to free controls components
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask of components of ctrls to free
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => free everything + ctrls itself
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
'\" t
|
||||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,13 +33,13 @@ XkbFreeDeviceInfo \- Free an XkbDeviceInfoRec structure
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- device_info
|
||||
.I device_info
|
||||
pointer to XkbDeviceInfoRec in which to free items
|
||||
.TP
|
||||
.I \- which
|
||||
.I which
|
||||
mask of components of device_info to free
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => free everything, including device_info
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,16 +33,16 @@ XkbFreeGeomColors \- Free geometry colors
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry in which colors should be freed
|
||||
.TP
|
||||
.I \- first
|
||||
.I first
|
||||
first color to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of colors to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all colors are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -32,13 +32,13 @@ XkbFreeGeomDoodads \- Free geometry doodads
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- doodads
|
||||
.I doodads
|
||||
doodads to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of doodads to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all doodads are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,16 +33,16 @@ XkbFreeGeomKeyAliases \- Free geometry key aliases
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- geom
|
||||
.I geom
|
||||
geometry in which key aliases should be freed
|
||||
.TP
|
||||
.I \- first
|
||||
.I first
|
||||
first key alias to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of key aliases to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all key aliases are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,16 +33,16 @@ XkbFreeGeomKeys \- Free geometry keys
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- row
|
||||
.I row
|
||||
row in which keys should be freed
|
||||
.TP
|
||||
.I \- first
|
||||
.I first
|
||||
first key to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of keys to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all keys are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,16 +33,16 @@ XkbFreeGeomOutlines \- Free geometry outlines
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- shape
|
||||
.I shape
|
||||
shape in which outlines should be freed
|
||||
.TP
|
||||
.I \- first
|
||||
.I first
|
||||
first outline to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of outlines to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all outlines are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,16 +33,16 @@ XkbFreeGeomOverlayKeys \- Free keys in an overlay row
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- row
|
||||
.I row
|
||||
row in which keys should be freed
|
||||
.TP
|
||||
.I \- first
|
||||
.I first
|
||||
first key to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of keys to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all keys are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,16 +33,16 @@ XkbFreeGeomOverlayRows \- Free rows in an overlay
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- overlay
|
||||
.I overlay
|
||||
section in which rows should be freed
|
||||
.TP
|
||||
.I \- first
|
||||
.I first
|
||||
first row to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of rows to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all rows are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,16 +33,16 @@ XkbFreeGeomOverlays \- Free rows in a section
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- section
|
||||
.I section
|
||||
section in which overlays should be freed
|
||||
.TP
|
||||
.I \- first
|
||||
.I first
|
||||
first overlay to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of overlays to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all overlays are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" Copyright 1999 Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Copyright (c) 1999, Oracle and/or its affiliates.
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
|
@ -33,16 +33,16 @@ XkbFreeGeomPoints \- Free points in a outline
|
|||
.if t .ti +.5i
|
||||
.SH ARGUMENTS
|
||||
.TP
|
||||
.I \- outline
|
||||
.I outline
|
||||
outline in which points should be freed
|
||||
.TP
|
||||
.I \- first
|
||||
.I first
|
||||
first point to be freed
|
||||
.TP
|
||||
.I \- count
|
||||
.I count
|
||||
number of points to be freed
|
||||
.TP
|
||||
.I \- free_all
|
||||
.I free_all
|
||||
True => all points are freed
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue