summaryrefslogtreecommitdiff
path: root/lib/libXi
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2011-07-02 21:21:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2011-07-02 21:21:12 +0000
commit03ca6454c6f9e295aee37011c0fe60f13035f4a2 (patch)
tree030ed04dc2918de83a9f924114a9e5ce885f8c1a /lib/libXi
parentcd1eee6d3c3faa5d024f0e10a0141cab9991cf66 (diff)
Update to libXi 1.4.3.
This contains more doc fixes and a few more bug fixes.
Diffstat (limited to 'lib/libXi')
-rw-r--r--lib/libXi/ChangeLog127
-rw-r--r--lib/libXi/Makefile.in6
-rw-r--r--lib/libXi/configure20
-rw-r--r--lib/libXi/configure.ac2
-rw-r--r--lib/libXi/doc/Makefile.in6
-rw-r--r--lib/libXi/man/Makefile.in6
-rw-r--r--lib/libXi/man/XAllowDeviceEvents.man8
-rw-r--r--lib/libXi/man/XChangeDeviceDontPropagateList.man8
-rw-r--r--lib/libXi/man/XChangeKeyboardDevice.man8
-rw-r--r--lib/libXi/man/XChangePointerDevice.man8
-rw-r--r--lib/libXi/man/XDeviceBell.man8
-rw-r--r--lib/libXi/man/XGetDeviceControl.man8
-rw-r--r--lib/libXi/man/XGetDeviceKeyMapping.man8
-rw-r--r--lib/libXi/man/XGetDeviceModifierMapping.man8
-rw-r--r--lib/libXi/man/XGetDeviceMotionEvents.man8
-rw-r--r--lib/libXi/man/XGetDeviceProperty.man8
-rw-r--r--lib/libXi/man/XGetExtensionVersion.man27
-rw-r--r--lib/libXi/man/XGetExtensionVersion.txt11
-rw-r--r--lib/libXi/man/XGetFeedbackControl.man8
-rw-r--r--lib/libXi/man/XGrabDevice.man8
-rw-r--r--lib/libXi/man/XGrabDeviceButton.man8
-rw-r--r--lib/libXi/man/XGrabDeviceKey.man8
-rw-r--r--lib/libXi/man/XIChangeHierarchy.man11
-rw-r--r--lib/libXi/man/XIChangeHierarchy.txt3
-rw-r--r--lib/libXi/man/XIChangeProperty.man10
-rw-r--r--lib/libXi/man/XIChangeProperty.txt2
-rw-r--r--lib/libXi/man/XIDefineCursor.man8
-rw-r--r--lib/libXi/man/XIGrabButton.man10
-rw-r--r--lib/libXi/man/XIGrabButton.txt2
-rw-r--r--lib/libXi/man/XIGrabDevice.man8
-rw-r--r--lib/libXi/man/XIGrabEnter.man10
-rw-r--r--lib/libXi/man/XIGrabEnter.txt2
-rw-r--r--lib/libXi/man/XIListProperties.man8
-rw-r--r--lib/libXi/man/XIQueryDevice.man8
-rw-r--r--lib/libXi/man/XIQueryPointer.man8
-rw-r--r--lib/libXi/man/XIQueryVersion.man8
-rw-r--r--lib/libXi/man/XISelectEvents.man8
-rw-r--r--lib/libXi/man/XISetClientPointer.man8
-rw-r--r--lib/libXi/man/XISetFocus.man8
-rw-r--r--lib/libXi/man/XIWarpPointer.man8
-rw-r--r--lib/libXi/man/XListDeviceProperties.man8
-rw-r--r--lib/libXi/man/XListInputDevices.man8
-rw-r--r--lib/libXi/man/XOpenDevice.man8
-rw-r--r--lib/libXi/man/XQueryDeviceState.man8
-rw-r--r--lib/libXi/man/XSelectExtensionEvent.man8
-rw-r--r--lib/libXi/man/XSendExtensionEvent.man8
-rw-r--r--lib/libXi/man/XSetDeviceButtonMapping.man8
-rw-r--r--lib/libXi/man/XSetDeviceFocus.man8
-rw-r--r--lib/libXi/man/XSetDeviceMode.man8
-rw-r--r--lib/libXi/man/XSetDeviceValuators.man8
-rw-r--r--lib/libXi/specs/Makefile.in6
-rw-r--r--lib/libXi/src/Makefile.in6
-rw-r--r--lib/libXi/src/XExtInt.c2
-rw-r--r--lib/libXi/src/XIHierarchy.c3
-rw-r--r--lib/libXi/src/XIPassiveGrab.c4
-rw-r--r--lib/libXi/src/XISelEv.c2
56 files changed, 346 insertions, 204 deletions
diff --git a/lib/libXi/ChangeLog b/lib/libXi/ChangeLog
index 3fbb8d87e..29c622795 100644
--- a/lib/libXi/ChangeLog
+++ b/lib/libXi/ChangeLog
@@ -1,3 +1,130 @@
+commit 9fd7b9a9652ecebb8eb533c2a30b9fa7bb186b90
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Tue Jun 7 13:32:11 2011 +1000
+
+ libXi 1.4.3
+
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+
+commit 7bdaa3635b7eb4bd993c317922d35cad7ed0cab9
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Fri Jun 3 15:10:27 2011 +1000
+
+ man: Fix typo in XIChangeProperty
+
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+ (cherry picked from commit 938ef832b892fdefe0d5c2bb4510c91bbbccca9f)
+
+commit 63027b24113b349720f1612a4426933c1364ea28
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Fri Jun 3 15:02:35 2011 +1000
+
+ man: Fix wrong event names in XIGrabButton.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+ (cherry picked from commit 597a6a51721d30c4354d1133bb6da6bd2e12446e)
+
+commit 9affea8cfd3f583647e9c6ea2b5debb97e6904c5
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Thu Jun 2 16:21:59 2011 +1000
+
+ Use Data, not Data32 in XIPassiveGrabDevice
+
+ Data32 takes and iterates over an array of longs, thus skipping every 4
+ bytes on LP64. Here we only have arrays of ints, use the normal Data macro
+ instead.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+ Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
+ (cherry picked from commit 9faab2bc0bdd4d98a04e572a7a5201bfcd3bdc70)
+
+commit 641d1e9943208a8b2c2aef843bd17cb22f833b06
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Thu Jun 2 14:17:44 2011 +1000
+
+ man: fix missing comma in XIGrabEnter man page
+ (cherry picked from commit 67441d30df756eb715a262d3439865dedd4055e8)
+
+commit f37dee93cb288f11d286c7bc4222b2f571ccfd65
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Thu May 5 09:43:32 2011 +1000
+
+ man: fix typo, layout in XGetExtensionVersion.man
+
+ Fix a typo and move from MPX to XI2. Add a linebreak to make the
+ depreciation separate from the function description. Changes in the second
+ paragraph are just realignment due to the linebreak.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+ (cherry picked from commit aa2432240ad02c54280f2d11c007969c3eb9b79f)
+
+commit 89c7eff322c60d78c814693ecb28fa6c65159d3e
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Tue May 3 14:34:22 2011 +1000
+
+ XIChangeHierarchy: Return Success early if no actual changes are requested.
+
+ Do the same for negative num_changes.
+
+ Found by static analyzer.
+
+ Reported-by: Jeremy Huddleston <jeremyhu@apple.com>
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+ Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
+ (cherry picked from commit cc6feecae23b321952921cf927bc965386844c8c)
+
+commit 7c6003718458ede0542233a213e05d67731d3e28
+Author: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Tue May 3 13:21:02 2011 +1000
+
+ Allocate enough memory for raw events + extra data.
+
+ Necessary space was calculated, but not actually used to allocate memory. As
+ a result, valuator data would overwrite the allocated memory.
+
+ ==4166== Invalid write of size 1
+ ==4166== at 0x4C29F04: memcpy (mc_replace_strmem.c:497)
+ ==4166== by 0x8F39180: ??? (in /usr/lib/libXi.so.6.1.0)
+ ==4166== by 0x7433D48: _XCopyEventCookie (in /usr/lib/libX11.so.6.3.0)
+ ==4166== by 0x7425166: XPeekEvent (in /usr/lib/libX11.so.6.3.0)
+ ==4166== by 0x49C3E3: process_key (x11_be.c:1065)
+ ==4166== by 0x49EA5C: event_key_release (x11_be.c:2201)
+ ==4166== by 0x49DD6E: x11_be_process_events (x11_be.c:1892)
+ ==4166== by 0x4A38F4: x11_be_main_loop (x11_be.c:4353)
+ ==4166== by 0x4A39E1: x11_be_thread_main (x11_be.c:4385)
+ ==4166== by 0x87549C9: start_thread (pthread_create.c:300)
+ ==4166== by 0x8A516FC: clone (clone.S:112)
+ ==4166== Address 0x168afe80 is 0 bytes after a block of size 96 alloc'd
+ ==4166== at 0x4C284A8: malloc (vg_replace_malloc.c:236)
+ ==4166== by 0x8F390BD: ??? (in /usr/lib/libXi.so.6.1.0)
+ ==4166== by 0x7433D48: _XCopyEventCookie (in /usr/lib/libX11.so.6.3.0)
+ ==4166== by 0x7425166: XPeekEvent (in /usr/lib/libX11.so.6.3.0)
+ ==4166== by 0x49C3E3: process_key (x11_be.c:1065)
+ ==4166== by 0x49EA5C: event_key_release (x11_be.c:2201)
+ ==4166== by 0x49DD6E: x11_be_process_events (x11_be.c:1892)
+ ==4166== by 0x4A38F4: x11_be_main_loop (x11_be.c:4353)
+ ==4166== by 0x4A39E1: x11_be_thread_main (x11_be.c:4385)
+ ==4166== by 0x87549C9: start_thread (pthread_create.c:300)
+
+ Reported-by: Roger Cruz <roger.cruz@virtualcomputer.com>
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+ Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
+ Reviewed-by: Daniel Stone <daniel@fooishbar.org>
+ (cherry picked from commit af65475b1f6b7209750220a74aaad9968d54aaf7)
+
+commit 8abdde71b83ff37b8500282e4856c323be508f67
+Author: Matthieu Herrb <matthieu.herrb@laas.fr>
+Date: Fri Apr 1 22:49:09 2011 +0200
+
+ Fix XISelectEvents on 64 bits, strict alignement architectures.
+
+ Use Data() to send the struct xXIEventMask on the wire instead of
+ Data32() which expects a pointer to a 64bits value on LP64
+ architectures.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+ (cherry picked from commit 18177afd4fb3934d0a9083c599fb96701eec2ad9)
+
commit 32236a7779f721d252d633d06ade306f246421a3
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Fri Mar 18 16:30:13 2011 -0700
diff --git a/lib/libXi/Makefile.in b/lib/libXi/Makefile.in
index f67beb4a1..8823e1ea3 100644
--- a/lib/libXi/Makefile.in
+++ b/lib/libXi/Makefile.in
@@ -23,9 +23,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
+install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
+install_sh_PROGRAM = ${SHELL} $(install_sh) -c
+install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
diff --git a/lib/libXi/configure b/lib/libXi/configure
index 28f787605..52e6512a2 100644
--- a/lib/libXi/configure
+++ b/lib/libXi/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.62 for libXi 1.4.2.
+# Generated by GNU Autoconf 2.62 for libXi 1.4.3.
#
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
#
@@ -810,8 +810,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='libXi'
PACKAGE_TARNAME='libXi'
-PACKAGE_VERSION='1.4.2'
-PACKAGE_STRING='libXi 1.4.2'
+PACKAGE_VERSION='1.4.3'
+PACKAGE_STRING='libXi 1.4.3'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
ac_unique_file="Makefile.am"
@@ -1597,7 +1597,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libXi 1.4.2 to adapt to many kinds of systems.
+\`configure' configures libXi 1.4.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1667,7 +1667,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libXi 1.4.2:";;
+ short | recursive ) echo "Configuration of libXi 1.4.3:";;
esac
cat <<\_ACEOF
@@ -1791,7 +1791,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libXi configure 1.4.2
+libXi configure 1.4.3
generated by GNU Autoconf 2.62
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1805,7 +1805,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libXi $as_me 1.4.2, which was
+It was created by libXi $as_me 1.4.3, which was
generated by GNU Autoconf 2.62. Invocation command line was
$ $0 $@
@@ -2459,7 +2459,7 @@ fi
# Define the identity of the package.
PACKAGE='libXi'
- VERSION='1.4.2'
+ VERSION='1.4.3'
cat >>confdefs.h <<_ACEOF
@@ -22054,7 +22054,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libXi $as_me 1.4.2, which was
+This file was extended by libXi $as_me 1.4.3, which was
generated by GNU Autoconf 2.62. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -22107,7 +22107,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-libXi config.status 1.4.2
+libXi config.status 1.4.3
configured by $0, generated by GNU Autoconf 2.62,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/lib/libXi/configure.ac b/lib/libXi/configure.ac
index 08501c9c8..847895a03 100644
--- a/lib/libXi/configure.ac
+++ b/lib/libXi/configure.ac
@@ -1,7 +1,7 @@
# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([libXi], [1.4.2],
+AC_INIT([libXi], [1.4.3],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXi])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([src/config.h])
diff --git a/lib/libXi/doc/Makefile.in b/lib/libXi/doc/Makefile.in
index 5b0ccb120..0badeca9a 100644
--- a/lib/libXi/doc/Makefile.in
+++ b/lib/libXi/doc/Makefile.in
@@ -46,9 +46,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
+install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
+install_sh_PROGRAM = ${SHELL} $(install_sh) -c
+install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
diff --git a/lib/libXi/man/Makefile.in b/lib/libXi/man/Makefile.in
index a9fe7092c..2a0c3ff35 100644
--- a/lib/libXi/man/Makefile.in
+++ b/lib/libXi/man/Makefile.in
@@ -46,9 +46,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
+install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
+install_sh_PROGRAM = ${SHELL} $(install_sh) -c
+install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
diff --git a/lib/libXi/man/XAllowDeviceEvents.man b/lib/libXi/man/XAllowDeviceEvents.man
index 874cda3b5..61bbc7853 100644
--- a/lib/libXi/man/XAllowDeviceEvents.man
+++ b/lib/libXi/man/XAllowDeviceEvents.man
@@ -2,12 +2,12 @@
.\" Title: xallowdeviceevents
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XALLOWDEVICEEVENTS" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XALLOWDEVICEEVENTS" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XChangeDeviceDontPropagateList.man b/lib/libXi/man/XChangeDeviceDontPropagateList.man
index 1e35ee92b..d02e3b7ae 100644
--- a/lib/libXi/man/XChangeDeviceDontPropagateList.man
+++ b/lib/libXi/man/XChangeDeviceDontPropagateList.man
@@ -2,12 +2,12 @@
.\" Title: xchangedevicedontpropagatelist
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XCHANGEDEVICEDONTPRO" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XCHANGEDEVICEDONTPRO" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XChangeKeyboardDevice.man b/lib/libXi/man/XChangeKeyboardDevice.man
index bd7a28797..9d9e2d091 100644
--- a/lib/libXi/man/XChangeKeyboardDevice.man
+++ b/lib/libXi/man/XChangeKeyboardDevice.man
@@ -2,12 +2,12 @@
.\" Title: xchangekeyboarddevice
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XCHANGEKEYBOARDDEVIC" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XCHANGEKEYBOARDDEVIC" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XChangePointerDevice.man b/lib/libXi/man/XChangePointerDevice.man
index 33b2a89f0..e1b2b16f8 100644
--- a/lib/libXi/man/XChangePointerDevice.man
+++ b/lib/libXi/man/XChangePointerDevice.man
@@ -2,12 +2,12 @@
.\" Title: xchangepointerdevice
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XCHANGEPOINTERDEVICE" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XCHANGEPOINTERDEVICE" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XDeviceBell.man b/lib/libXi/man/XDeviceBell.man
index 4d534a2a8..386d48c02 100644
--- a/lib/libXi/man/XDeviceBell.man
+++ b/lib/libXi/man/XDeviceBell.man
@@ -2,12 +2,12 @@
.\" Title: xdevicebell
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XDEVICEBELL" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XDEVICEBELL" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGetDeviceControl.man b/lib/libXi/man/XGetDeviceControl.man
index 6ba41ab05..45090294e 100644
--- a/lib/libXi/man/XGetDeviceControl.man
+++ b/lib/libXi/man/XGetDeviceControl.man
@@ -2,12 +2,12 @@
.\" Title: xgetdevicecontrol
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGETDEVICECONTROL" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGETDEVICECONTROL" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGetDeviceKeyMapping.man b/lib/libXi/man/XGetDeviceKeyMapping.man
index c2dfe8661..93af9659d 100644
--- a/lib/libXi/man/XGetDeviceKeyMapping.man
+++ b/lib/libXi/man/XGetDeviceKeyMapping.man
@@ -2,12 +2,12 @@
.\" Title: xgetdevicekeymapping
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGETDEVICEKEYMAPPING" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGETDEVICEKEYMAPPING" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGetDeviceModifierMapping.man b/lib/libXi/man/XGetDeviceModifierMapping.man
index 4ced65bf5..aa47c6086 100644
--- a/lib/libXi/man/XGetDeviceModifierMapping.man
+++ b/lib/libXi/man/XGetDeviceModifierMapping.man
@@ -2,12 +2,12 @@
.\" Title: xgetdevicemodifiermapping
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGETDEVICEMODIFIERMA" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGETDEVICEMODIFIERMA" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGetDeviceMotionEvents.man b/lib/libXi/man/XGetDeviceMotionEvents.man
index 5a7fac9fc..04c966c3f 100644
--- a/lib/libXi/man/XGetDeviceMotionEvents.man
+++ b/lib/libXi/man/XGetDeviceMotionEvents.man
@@ -2,12 +2,12 @@
.\" Title: xgetdevicemotionevents
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGETDEVICEMOTIONEVEN" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGETDEVICEMOTIONEVEN" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGetDeviceProperty.man b/lib/libXi/man/XGetDeviceProperty.man
index ebd2c0471..4afe9511b 100644
--- a/lib/libXi/man/XGetDeviceProperty.man
+++ b/lib/libXi/man/XGetDeviceProperty.man
@@ -2,12 +2,12 @@
.\" Title: xgetdeviceproperty
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGETDEVICEPROPERTY" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGETDEVICEPROPERTY" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGetExtensionVersion.man b/lib/libXi/man/XGetExtensionVersion.man
index 38586b697..e53da8557 100644
--- a/lib/libXi/man/XGetExtensionVersion.man
+++ b/lib/libXi/man/XGetExtensionVersion.man
@@ -2,12 +2,12 @@
.\" Title: xgetextensionversion
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/07/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGETEXTENSIONVERSION" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGETEXTENSIONVERSION" "libmansuffix" "06/07/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -57,11 +57,20 @@ name
.\}
.nf
The XGetExtensionVersion request is deprecated and should not
-be used\&. Clients issuing a XgetExtensionVersion request will
-not be able to use MPX features\&. The XGetExtensionVersion
-request queries the version of the input extension, and returns
-an XExtensionVersion structure\&. This structure contains a
-major_version and minor_version number which can be compared
+be used in XI2 applications\&. Clients issuing a XGetExtensionVersion
+request will not be able to use XI2 features\&.
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+The XGetExtensionVersion request queries the version of the input
+extension, and returns an XExtensionVersion structure\&. This structure
+contains a major_version and minor_version number which can be compared
with constants defined in XI\&.h\&. Support for additional protocol
requests added to the input extension after its initial release
is indicated by a version number corresponding to the added
diff --git a/lib/libXi/man/XGetExtensionVersion.txt b/lib/libXi/man/XGetExtensionVersion.txt
index 3e24fc727..c7d45f40a 100644
--- a/lib/libXi/man/XGetExtensionVersion.txt
+++ b/lib/libXi/man/XGetExtensionVersion.txt
@@ -25,11 +25,12 @@ DESCRIPTION
-----------
The XGetExtensionVersion request is deprecated and should not
- be used. Clients issuing a XgetExtensionVersion request will
- not be able to use MPX features. The XGetExtensionVersion
- request queries the version of the input extension, and returns
- an XExtensionVersion structure. This structure contains a
- major_version and minor_version number which can be compared
+ be used in XI2 applications. Clients issuing a XGetExtensionVersion
+ request will not be able to use XI2 features.
+
+ The XGetExtensionVersion request queries the version of the input
+ extension, and returns an XExtensionVersion structure. This structure
+ contains a major_version and minor_version number which can be compared
with constants defined in XI.h. Support for additional protocol
requests added to the input extension after its initial release
is indicated by a version number corresponding to the added
diff --git a/lib/libXi/man/XGetFeedbackControl.man b/lib/libXi/man/XGetFeedbackControl.man
index 13743ac81..2eb5b27ec 100644
--- a/lib/libXi/man/XGetFeedbackControl.man
+++ b/lib/libXi/man/XGetFeedbackControl.man
@@ -2,12 +2,12 @@
.\" Title: xgetfeedbackcontrol
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGETFEEDBACKCONTROL" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGETFEEDBACKCONTROL" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGrabDevice.man b/lib/libXi/man/XGrabDevice.man
index fa19cc16f..55d8be21a 100644
--- a/lib/libXi/man/XGrabDevice.man
+++ b/lib/libXi/man/XGrabDevice.man
@@ -2,12 +2,12 @@
.\" Title: xgrabdevice
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGRABDEVICE" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGRABDEVICE" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGrabDeviceButton.man b/lib/libXi/man/XGrabDeviceButton.man
index 67e7fe299..080d88f96 100644
--- a/lib/libXi/man/XGrabDeviceButton.man
+++ b/lib/libXi/man/XGrabDeviceButton.man
@@ -2,12 +2,12 @@
.\" Title: xgrabdevicebutton
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGRABDEVICEBUTTON" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGRABDEVICEBUTTON" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XGrabDeviceKey.man b/lib/libXi/man/XGrabDeviceKey.man
index 9b3c55af1..4ee960431 100644
--- a/lib/libXi/man/XGrabDeviceKey.man
+++ b/lib/libXi/man/XGrabDeviceKey.man
@@ -2,12 +2,12 @@
.\" Title: xgrabdevicekey
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XGRABDEVICEKEY" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XGRABDEVICEKEY" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XIChangeHierarchy.man b/lib/libXi/man/XIChangeHierarchy.man
index 7b9ba2a90..3bd4a5933 100644
--- a/lib/libXi/man/XIChangeHierarchy.man
+++ b/lib/libXi/man/XIChangeHierarchy.man
@@ -2,12 +2,12 @@
.\" Title: xichangehierarchy
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/07/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XICHANGEHIERARCHY" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XICHANGEHIERARCHY" "libmansuffix" "06/07/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -64,7 +64,8 @@ changes
XIChangeHierarchy modifies the device hierarchy by creating or
removing master devices or changing the attachment of slave
devices\&. If num_changes is non\-zero, changes is an array of
-XIAnyHierarchyChangeInfo structures\&.
+XIAnyHierarchyChangeInfo structures\&. If num_changes is equal or less than
+zero, XIChangeHierarchy does nothing\&.
.fi
.if n \{\
.RE
diff --git a/lib/libXi/man/XIChangeHierarchy.txt b/lib/libXi/man/XIChangeHierarchy.txt
index ac667bc4f..205f40fe3 100644
--- a/lib/libXi/man/XIChangeHierarchy.txt
+++ b/lib/libXi/man/XIChangeHierarchy.txt
@@ -30,7 +30,8 @@ DESCRIPTION
XIChangeHierarchy modifies the device hierarchy by creating or
removing master devices or changing the attachment of slave
devices. If num_changes is non-zero, changes is an array of
- XIAnyHierarchyChangeInfo structures.
+ XIAnyHierarchyChangeInfo structures. If num_changes is equal or less than
+ zero, XIChangeHierarchy does nothing.
XIChangeHierarchy processes changes in order, effective
immediately. If an error occurs, processing is aborted and the
diff --git a/lib/libXi/man/XIChangeProperty.man b/lib/libXi/man/XIChangeProperty.man
index 8157df3f3..c140d444a 100644
--- a/lib/libXi/man/XIChangeProperty.man
+++ b/lib/libXi/man/XIChangeProperty.man
@@ -2,12 +2,12 @@
.\" Title: xichangeproperty
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/07/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XICHANGEPROPERTY" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XICHANGEPROPERTY" "libmansuffix" "06/07/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -239,7 +239,7 @@ If mode is PropModeReplace, XIChangeProperty discards the previous property valu
.sp -1
.IP \(bu 2.3
.\}
-If mode is PropModePrepend or PropModeAppend, XChangeProperty inserts the specified data before the beginning of the existing data or onto the end of the existing data, respectively\&. The type and format must match the existing property value, or a BadMatch error results\&. If the property is undefined, it is treated as defined with the correct type and format with zero\-length data\&.
+If mode is PropModePrepend or PropModeAppend, XIChangeProperty inserts the specified data before the beginning of the existing data or onto the end of the existing data, respectively\&. The type and format must match the existing property value, or a BadMatch error results\&. If the property is undefined, it is treated as defined with the correct type and format with zero\-length data\&.
.RE
.sp
If the specified format is 8, the property data must be a char array\&. If the specified format is 16, the property data must be a uint16_t array\&. If the specified format is 32, the property data must be a uint32_t array\&.
diff --git a/lib/libXi/man/XIChangeProperty.txt b/lib/libXi/man/XIChangeProperty.txt
index 76a0e8b0f..2e5eea144 100644
--- a/lib/libXi/man/XIChangeProperty.txt
+++ b/lib/libXi/man/XIChangeProperty.txt
@@ -168,7 +168,7 @@ device. XIChangeProperty performs the following:
- If mode is PropModeReplace, XIChangeProperty discards the previous
property value and stores the new data.
-- If mode is PropModePrepend or PropModeAppend, XChangeProperty
+- If mode is PropModePrepend or PropModeAppend, XIChangeProperty
inserts the specified data before the beginning of the existing
data or onto the end of the existing data, respectively. The type
and format must match the existing property value, or a BadMatch
diff --git a/lib/libXi/man/XIDefineCursor.man b/lib/libXi/man/XIDefineCursor.man
index 1740524f6..a7ec2c5b8 100644
--- a/lib/libXi/man/XIDefineCursor.man
+++ b/lib/libXi/man/XIDefineCursor.man
@@ -2,12 +2,12 @@
.\" Title: xidefinecursor
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XIDEFINECURSOR" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XIDEFINECURSOR" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XIGrabButton.man b/lib/libXi/man/XIGrabButton.man
index 43589a00f..0ad6f8640 100644
--- a/lib/libXi/man/XIGrabButton.man
+++ b/lib/libXi/man/XIGrabButton.man
@@ -2,12 +2,12 @@
.\" Title: xigrabbutton
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/07/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XIGRABBUTTON" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XIGRABBUTTON" "libmansuffix" "06/07/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -164,7 +164,7 @@ if deviceid specifies a master pointer\&. Otherwise, the modifier
device is the device specified with deviceid\&. In the future,
the device is actively grabbed (as for XIGrabDevice, the
last\-grab time is set to the time at which the button or keycode
-was pressed and the X_XIButtonPress or X_XIKeyPress event is
+was pressed and the XI_ButtonPress or XI_KeyPress event is
reported if all of the following conditions are true:
* The device is not grabbed, and the specified button or
keycode is logically pressed when the specified modifier
diff --git a/lib/libXi/man/XIGrabButton.txt b/lib/libXi/man/XIGrabButton.txt
index fb806afc8..4e9bcb9ee 100644
--- a/lib/libXi/man/XIGrabButton.txt
+++ b/lib/libXi/man/XIGrabButton.txt
@@ -107,7 +107,7 @@ DESCRIPTION
device is the device specified with deviceid. In the future,
the device is actively grabbed (as for XIGrabDevice, the
last-grab time is set to the time at which the button or keycode
- was pressed and the X_XIButtonPress or X_XIKeyPress event is
+ was pressed and the XI_ButtonPress or XI_KeyPress event is
reported if all of the following conditions are true:
* The device is not grabbed, and the specified button or
keycode is logically pressed when the specified modifier
diff --git a/lib/libXi/man/XIGrabDevice.man b/lib/libXi/man/XIGrabDevice.man
index 65f6ebd14..088934b13 100644
--- a/lib/libXi/man/XIGrabDevice.man
+++ b/lib/libXi/man/XIGrabDevice.man
@@ -2,12 +2,12 @@
.\" Title: xigrabdevice
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/07/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XIGRABDEVICE" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XIGRABDEVICE" "libmansuffix" "06/07/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XIGrabEnter.man b/lib/libXi/man/XIGrabEnter.man
index 033e1f567..836dd8c31 100644
--- a/lib/libXi/man/XIGrabEnter.man
+++ b/lib/libXi/man/XIGrabEnter.man
@@ -2,12 +2,12 @@
.\" Title: xigrabenter
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/07/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XIGRABENTER" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XIGRABENTER" "libmansuffix" "06/07/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -38,7 +38,7 @@ XIGrabEnter, XIUngrabEnter, XIGrabFocusIn, XIUngrabFocusIn \- grab/ungrab enter
.nf
int XIGrabEnter( Display *display,
int deviceid,
- Window grab_window
+ Window grab_window,
Cursor cursor,
int grab_mode,
int paired_device_mode,
diff --git a/lib/libXi/man/XIGrabEnter.txt b/lib/libXi/man/XIGrabEnter.txt
index fff377343..f75a5ad20 100644
--- a/lib/libXi/man/XIGrabEnter.txt
+++ b/lib/libXi/man/XIGrabEnter.txt
@@ -14,7 +14,7 @@ SYNOPSIS
int XIGrabEnter( Display *display,
int deviceid,
- Window grab_window
+ Window grab_window,
Cursor cursor,
int grab_mode,
int paired_device_mode,
diff --git a/lib/libXi/man/XIListProperties.man b/lib/libXi/man/XIListProperties.man
index 55c1f111d..3e3893099 100644
--- a/lib/libXi/man/XIListProperties.man
+++ b/lib/libXi/man/XIListProperties.man
@@ -2,12 +2,12 @@
.\" Title: xilistproperties
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XILISTPROPERTIES" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XILISTPROPERTIES" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XIQueryDevice.man b/lib/libXi/man/XIQueryDevice.man
index ad270c10d..502c9f27e 100644
--- a/lib/libXi/man/XIQueryDevice.man
+++ b/lib/libXi/man/XIQueryDevice.man
@@ -2,12 +2,12 @@
.\" Title: xiquerydevice
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XIQUERYDEVICE" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XIQUERYDEVICE" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XIQueryPointer.man b/lib/libXi/man/XIQueryPointer.man
index a4ebb0b89..d50b66d65 100644
--- a/lib/libXi/man/XIQueryPointer.man
+++ b/lib/libXi/man/XIQueryPointer.man
@@ -2,12 +2,12 @@
.\" Title: xiquerypointer
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XIQUERYPOINTER" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XIQUERYPOINTER" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XIQueryVersion.man b/lib/libXi/man/XIQueryVersion.man
index d641ec82a..ff91c5867 100644
--- a/lib/libXi/man/XIQueryVersion.man
+++ b/lib/libXi/man/XIQueryVersion.man
@@ -2,12 +2,12 @@
.\" Title: xiqueryversion
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XIQUERYVERSION" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XIQUERYVERSION" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XISelectEvents.man b/lib/libXi/man/XISelectEvents.man
index 44eb5d752..0b46e2342 100644
--- a/lib/libXi/man/XISelectEvents.man
+++ b/lib/libXi/man/XISelectEvents.man
@@ -2,12 +2,12 @@
.\" Title: xiselectevents
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XISELECTEVENTS" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XISELECTEVENTS" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XISetClientPointer.man b/lib/libXi/man/XISetClientPointer.man
index 9cc62a136..cd9ae37a1 100644
--- a/lib/libXi/man/XISetClientPointer.man
+++ b/lib/libXi/man/XISetClientPointer.man
@@ -2,12 +2,12 @@
.\" Title: xisetclientpointer
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XISETCLIENTPOINTER" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XISETCLIENTPOINTER" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XISetFocus.man b/lib/libXi/man/XISetFocus.man
index ec3da67a5..b0b0c798b 100644
--- a/lib/libXi/man/XISetFocus.man
+++ b/lib/libXi/man/XISetFocus.man
@@ -2,12 +2,12 @@
.\" Title: xisetfocus
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XISETFOCUS" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XISETFOCUS" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XIWarpPointer.man b/lib/libXi/man/XIWarpPointer.man
index 8773e25d6..15aabe8e8 100644
--- a/lib/libXi/man/XIWarpPointer.man
+++ b/lib/libXi/man/XIWarpPointer.man
@@ -2,12 +2,12 @@
.\" Title: xiwarppointer
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XIWARPPOINTER" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XIWARPPOINTER" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XListDeviceProperties.man b/lib/libXi/man/XListDeviceProperties.man
index 005958b35..ab753bd1c 100644
--- a/lib/libXi/man/XListDeviceProperties.man
+++ b/lib/libXi/man/XListDeviceProperties.man
@@ -2,12 +2,12 @@
.\" Title: xlistdeviceproperties
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XLISTDEVICEPROPERTIE" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XLISTDEVICEPROPERTIE" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XListInputDevices.man b/lib/libXi/man/XListInputDevices.man
index f6f82a4e1..a4fc58cba 100644
--- a/lib/libXi/man/XListInputDevices.man
+++ b/lib/libXi/man/XListInputDevices.man
@@ -2,12 +2,12 @@
.\" Title: xlistinputdevices
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XLISTINPUTDEVICES" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XLISTINPUTDEVICES" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XOpenDevice.man b/lib/libXi/man/XOpenDevice.man
index 1aef739e9..3a05c4c66 100644
--- a/lib/libXi/man/XOpenDevice.man
+++ b/lib/libXi/man/XOpenDevice.man
@@ -2,12 +2,12 @@
.\" Title: xopendevice
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XOPENDEVICE" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XOPENDEVICE" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XQueryDeviceState.man b/lib/libXi/man/XQueryDeviceState.man
index 1c746a783..5249fb716 100644
--- a/lib/libXi/man/XQueryDeviceState.man
+++ b/lib/libXi/man/XQueryDeviceState.man
@@ -2,12 +2,12 @@
.\" Title: xquerydevicestate
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XQUERYDEVICESTATE" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XQUERYDEVICESTATE" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XSelectExtensionEvent.man b/lib/libXi/man/XSelectExtensionEvent.man
index fd7ba5261..49cc5ae85 100644
--- a/lib/libXi/man/XSelectExtensionEvent.man
+++ b/lib/libXi/man/XSelectExtensionEvent.man
@@ -2,12 +2,12 @@
.\" Title: xselectextensionevent
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XSELECTEXTENSIONEVEN" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XSELECTEXTENSIONEVEN" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XSendExtensionEvent.man b/lib/libXi/man/XSendExtensionEvent.man
index 767e2cd18..f9dab9729 100644
--- a/lib/libXi/man/XSendExtensionEvent.man
+++ b/lib/libXi/man/XSendExtensionEvent.man
@@ -2,12 +2,12 @@
.\" Title: xsendextensionevent
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XSENDEXTENSIONEVENT" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XSENDEXTENSIONEVENT" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XSetDeviceButtonMapping.man b/lib/libXi/man/XSetDeviceButtonMapping.man
index 103267994..07025ff9d 100644
--- a/lib/libXi/man/XSetDeviceButtonMapping.man
+++ b/lib/libXi/man/XSetDeviceButtonMapping.man
@@ -2,12 +2,12 @@
.\" Title: xsetdevicebuttonmapping
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XSETDEVICEBUTTONMAPP" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XSETDEVICEBUTTONMAPP" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XSetDeviceFocus.man b/lib/libXi/man/XSetDeviceFocus.man
index b4daff3f6..5deef5920 100644
--- a/lib/libXi/man/XSetDeviceFocus.man
+++ b/lib/libXi/man/XSetDeviceFocus.man
@@ -2,12 +2,12 @@
.\" Title: xsetdevicefocus
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XSETDEVICEFOCUS" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XSETDEVICEFOCUS" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XSetDeviceMode.man b/lib/libXi/man/XSetDeviceMode.man
index 98b22c0e2..3b8ac41f9 100644
--- a/lib/libXi/man/XSetDeviceMode.man
+++ b/lib/libXi/man/XSetDeviceMode.man
@@ -2,12 +2,12 @@
.\" Title: xsetdevicemode
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XSETDEVICEMODE" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XSETDEVICEMODE" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/man/XSetDeviceValuators.man b/lib/libXi/man/XSetDeviceValuators.man
index c5c97b68c..fd80af12f 100644
--- a/lib/libXi/man/XSetDeviceValuators.man
+++ b/lib/libXi/man/XSetDeviceValuators.man
@@ -2,12 +2,12 @@
.\" Title: xsetdevicevaluators
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 03/18/2011
-.\" Manual: \ \&
-.\" Source: \ \&
+.\" Date: 06/02/2011
+.\" Manual: [FIXME: manual]
+.\" Source: [FIXME: source]
.\" Language: English
.\"
-.TH "XSETDEVICEVALUATORS" "libmansuffix" "03/18/2011" "\ \&" "\ \&"
+.TH "XSETDEVICEVALUATORS" "libmansuffix" "06/02/2011" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff --git a/lib/libXi/specs/Makefile.in b/lib/libXi/specs/Makefile.in
index 047292e7e..aa337d034 100644
--- a/lib/libXi/specs/Makefile.in
+++ b/lib/libXi/specs/Makefile.in
@@ -46,9 +46,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
+install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
+install_sh_PROGRAM = ${SHELL} $(install_sh) -c
+install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
diff --git a/lib/libXi/src/Makefile.in b/lib/libXi/src/Makefile.in
index 682b49454..d5c324bdb 100644
--- a/lib/libXi/src/Makefile.in
+++ b/lib/libXi/src/Makefile.in
@@ -24,9 +24,9 @@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
+install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
+install_sh_PROGRAM = ${SHELL} $(install_sh) -c
+install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
diff --git a/lib/libXi/src/XExtInt.c b/lib/libXi/src/XExtInt.c
index d1451cc41..134ccc67c 100644
--- a/lib/libXi/src/XExtInt.c
+++ b/lib/libXi/src/XExtInt.c
@@ -1259,7 +1259,7 @@ copyRawEvent(XGenericEventCookie *cookie_in,
len = sizeof(XIRawEvent) + in->valuators.mask_len;
len += bits * sizeof(double) * 2;
- ptr = cookie_out->data = malloc(sizeof(XIRawEvent));
+ ptr = cookie_out->data = malloc(len);
if (!ptr)
return False;
diff --git a/lib/libXi/src/XIHierarchy.c b/lib/libXi/src/XIHierarchy.c
index d30ea292f..09e6f93ed 100644
--- a/lib/libXi/src/XIHierarchy.c
+++ b/lib/libXi/src/XIHierarchy.c
@@ -52,6 +52,9 @@ XIChangeHierarchy(Display* dpy,
if (_XiCheckExtInit(dpy, XInput_2_0, info) == -1)
return (NoSuchExtension);
+ if (num_changes <= 0)
+ return Success;
+
GetReq(XIChangeHierarchy, req);
req->reqType = info->codes->major_opcode;
req->ReqType = X_XIChangeHierarchy;
diff --git a/lib/libXi/src/XIPassiveGrab.c b/lib/libXi/src/XIPassiveGrab.c
index feef74be1..34f1bf3ce 100644
--- a/lib/libXi/src/XIPassiveGrab.c
+++ b/lib/libXi/src/XIPassiveGrab.c
@@ -67,9 +67,9 @@ _XIPassiveGrabDevice(Display* dpy, int deviceid, int grabtype, int detail,
buff = calloc(4, req->mask_len);
memcpy(buff, mask->mask, mask->mask_len);
- Data32(dpy, buff, req->mask_len * 4);
+ Data(dpy, buff, req->mask_len * 4);
for (i = 0; i < num_modifiers; i++)
- Data32(dpy, &modifiers_inout[i].modifiers, 4);
+ Data(dpy, (char*)&modifiers_inout[i].modifiers, 4);
free(buff);
diff --git a/lib/libXi/src/XISelEv.c b/lib/libXi/src/XISelEv.c
index 3a1f65db0..3192b6b8c 100644
--- a/lib/libXi/src/XISelEv.c
+++ b/lib/libXi/src/XISelEv.c
@@ -83,7 +83,7 @@ XISelectEvents(Display* dpy, Window win, XIEventMask* masks, int num_masks)
* and they need to be padded with 0 */
buff = calloc(1, mask.mask_len * 4);
memcpy(buff, current->mask, current->mask_len);
- Data(dpy, &mask, sizeof(xXIEventMask));
+ Data(dpy, (char*)&mask, sizeof(xXIEventMask));
Data(dpy, buff, mask.mask_len * 4);
free(buff);
}