sync with OpenBSD -current
This commit is contained in:
parent
4b49aefbb1
commit
1fd36b57f8
945 changed files with 81965 additions and 59988 deletions
|
@ -1,3 +1,83 @@
|
|||
commit 3c2d5aedd7708c75710b39268631762de904c304
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Thu Sep 5 11:15:04 2024 +1000
|
||||
|
||||
libXi 1.8.2
|
||||
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
|
||||
commit a5af26c654b4da5fd5eaaeaa2173c734ab9e63ec
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Tue Aug 27 11:01:06 2024 +1000
|
||||
|
||||
XGetFeedbackControl: skip over unknown feedback controls
|
||||
|
||||
If the server sends an unknown feedback control class we would allocate
|
||||
the amount of *protocol* bytes for the client representation but then
|
||||
later mess up the actual composition of the classes due to
|
||||
Feedback->length never being initialized.
|
||||
|
||||
So while in theory it looks like this:
|
||||
|-------------- allocated size -----------------|
|
||||
[led feedback] [ ?unknown? ] [kbd feedback][....]
|
||||
with unknown being the size of the class on the protocol,
|
||||
in practice it looks like this:
|
||||
|-------------- allocated size -----------------|
|
||||
[led feedback] [ ?unknown? ] [kbd feedback][...]
|
||||
with unknown being the size of whatever was in the Feeback->length
|
||||
pointed to at the time. The content of unknown is never initialized.
|
||||
|
||||
Fix this by making unknown classes disappear so the above becomes:
|
||||
|------- allocated size ---------|
|
||||
[led feedback][kbd feedback][....]
|
||||
|
||||
Closes #16
|
||||
|
||||
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxi/-/merge_requests/18>
|
||||
|
||||
commit dabce4dbe5eab35076e31fd0a628cbe11b858fa1
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Mon Aug 26 11:49:49 2024 -0700
|
||||
|
||||
wireTo*Event: check for malloc() failure
|
||||
|
||||
Fixes 6 -Wanalyzer-possible-null-dereference and
|
||||
1 -Wanalyzer-null-dereference and warnings from gcc 14.1
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxi/-/merge_requests/17>
|
||||
|
||||
commit 56b11459f833df8f324587847534a548b070da94
|
||||
Author: kyomawolf <kyomawolf@kyomawolf.eu>
|
||||
Date: Thu Oct 5 21:52:36 2023 +0200
|
||||
|
||||
fixed wrong type in man page
|
||||
|
||||
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxi/-/merge_requests/14>
|
||||
|
||||
commit 57ce2e8ba4c1f1bc5792e14bc7082f3ebd0915be
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Mon Jan 29 11:27:11 2024 +1000
|
||||
|
||||
Allow XIFreeDeviceInfo on a null pointer
|
||||
|
||||
commit a340bc0424a73d9fc4badbb7aee5284877635ca9
|
||||
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
Date: Fri Oct 13 11:17:43 2023 -0700
|
||||
|
||||
gitlab CI: Update to latest CI templates
|
||||
|
||||
Current template fails to rebuild the CI container with the current
|
||||
Debian stable release (a new release since the last update)
|
||||
|
||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||
|
||||
commit 09f3eb570fe79bfc0c430b6059d7b4acaf371c24
|
||||
Author: Matthieu Herrb <matthieu@herrb.eu>
|
||||
Date: Sat Aug 5 10:32:03 2023 +0000
|
||||
|
||||
Fix double alignment on 32bits machines with strict constraints
|
||||
|
||||
commit 3a7503ec7703f10de17c622ea22b7bff736cea74
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Thu May 4 14:42:12 2023 +1000
|
||||
|
@ -1064,7 +1144,7 @@ Date: Wed Dec 26 15:29:43 2012 +1000
|
|||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
|
||||
commit af9f26510d87eee71f1cd688d7dcfbf173c13943
|
||||
Merge: 31c6cf9 9e8a55d
|
||||
Merge: 31c6cf9f6fbc 9e8a55dfcb3d
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Mon Dec 17 14:34:53 2012 +1000
|
||||
|
||||
|
@ -1382,7 +1462,7 @@ Date: Thu Dec 22 09:42:43 2011 +1000
|
|||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
|
||||
commit 47f3d887a7731f4ab68a69ed31dbe7acf6d13270
|
||||
Merge: 82a6312 e73e2fe
|
||||
Merge: 82a631263ef4 e73e2fe95dab
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Wed Dec 21 15:40:37 2011 +1000
|
||||
|
||||
|
@ -1587,7 +1667,7 @@ Date: Sun Sep 18 00:53:56 2011 -0700
|
|||
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
|
||||
|
||||
commit 69f2580fd47cfe24105892e9ffb79cd046954b7d
|
||||
Merge: fc5d478 3ed1b46
|
||||
Merge: fc5d47895c13 3ed1b4632052
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Sat Sep 17 06:41:30 2011 +1000
|
||||
|
||||
|
@ -3403,7 +3483,7 @@ Date: Thu Jun 4 16:29:20 2009 +0200
|
|||
Fix building if asciidoc or xmlto is not installed.
|
||||
|
||||
commit 5975cb9e6f89bf71b1740cee951fc583d7b7cfc1
|
||||
Merge: 8ea9ebc 279a8c3
|
||||
Merge: 8ea9ebcedcb9 279a8c3a6466
|
||||
Author: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Thu Jun 4 15:49:07 2009 +1000
|
||||
|
||||
|
@ -4220,7 +4300,7 @@ Date: Thu May 22 12:58:55 2008 +0930
|
|||
Ansify the XI 2 functions.
|
||||
|
||||
commit 50990b8deb8b8484e9e02e313387ea4d2ddbd242
|
||||
Merge: 26dde5a 145947e
|
||||
Merge: 26dde5aaf4bb 145947ed6032
|
||||
Author: Peter Hutterer <peter@cs.unisa.edu.au>
|
||||
Date: Thu May 22 12:48:40 2008 +0930
|
||||
|
||||
|
@ -4268,7 +4348,7 @@ Date: Wed Apr 30 10:35:12 2008 +0930
|
|||
Fix up AM_CFLAGS, pulled in the system-includes before the local ones.
|
||||
|
||||
commit d68d321c0692848dd5eb67a3713676498c1c646b
|
||||
Merge: 7d0977b 3e99cc2
|
||||
Merge: 7d0977bc02ce 3e99cc281509
|
||||
Author: Peter Hutterer <peter@cs.unisa.edu.au>
|
||||
Date: Mon Apr 28 14:35:11 2008 +0930
|
||||
|
||||
|
@ -4808,14 +4888,14 @@ Date: Sat Oct 14 23:56:20 2006 -0700
|
|||
Add *.o to .gitignore.
|
||||
|
||||
commit 6e08a76fd8e356f98d2d6913f0c1b1401090768d
|
||||
Merge: ba84e84 360ceac
|
||||
Merge: ba84e84575b4 360ceacb2a3c
|
||||
Author: Daniel Stone <daniel@fooishbar.org>
|
||||
Date: Sun Sep 24 20:02:24 2006 +0300
|
||||
|
||||
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libXi
|
||||
|
||||
commit ba84e84575b4167b0c6298e86a860b0741e2d2a3
|
||||
Merge: 93d3c2c 576c579
|
||||
Merge: 93d3c2c45ccd 576c5794cf4b
|
||||
Author: Daniel Stone <daniel@fooishbar.org>
|
||||
Date: Sun Sep 24 19:58:56 2006 +0300
|
||||
|
||||
|
|
6
lib/libXi/aclocal.m4
vendored
6
lib/libXi/aclocal.m4
vendored
|
@ -9942,7 +9942,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.20.0])
|
||||
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,,
|
||||
|
@ -9989,10 +9989,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])
|
||||
|
|
20
lib/libXi/configure
vendored
20
lib/libXi/configure
vendored
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.71 for libXi 1.8.1.
|
||||
# Generated by GNU Autoconf 2.71 for libXi 1.8.2.
|
||||
#
|
||||
# Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXi/issues>.
|
||||
#
|
||||
|
@ -682,8 +682,8 @@ MAKEFLAGS=
|
|||
# Identity of this package.
|
||||
PACKAGE_NAME='libXi'
|
||||
PACKAGE_TARNAME='libXi'
|
||||
PACKAGE_VERSION='1.8.1'
|
||||
PACKAGE_STRING='libXi 1.8.1'
|
||||
PACKAGE_VERSION='1.8.2'
|
||||
PACKAGE_STRING='libXi 1.8.2'
|
||||
PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXi/issues'
|
||||
PACKAGE_URL=''
|
||||
|
||||
|
@ -1485,7 +1485,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.8.1 to adapt to many kinds of systems.
|
||||
\`configure' configures libXi 1.8.2 to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
|
@ -1556,7 +1556,7 @@ fi
|
|||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of libXi 1.8.1:";;
|
||||
short | recursive ) echo "Configuration of libXi 1.8.2:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
|
@ -1695,7 +1695,7 @@ fi
|
|||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
libXi configure 1.8.1
|
||||
libXi configure 1.8.2
|
||||
generated by GNU Autoconf 2.71
|
||||
|
||||
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||
|
@ -2008,7 +2008,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.8.1, which was
|
||||
It was created by libXi $as_me 1.8.2, which was
|
||||
generated by GNU Autoconf 2.71. Invocation command line was
|
||||
|
||||
$ $0$ac_configure_args_raw
|
||||
|
@ -3246,7 +3246,7 @@ fi
|
|||
|
||||
# Define the identity of the package.
|
||||
PACKAGE='libXi'
|
||||
VERSION='1.8.1'
|
||||
VERSION='1.8.2'
|
||||
|
||||
|
||||
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
|
||||
|
@ -20060,7 +20060,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=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.8.1, which was
|
||||
This file was extended by libXi $as_me 1.8.2, which was
|
||||
generated by GNU Autoconf 2.71. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
|
@ -20128,7 +20128,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
|
|||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_config='$ac_cs_config_escaped'
|
||||
ac_cs_version="\\
|
||||
libXi config.status 1.8.1
|
||||
libXi config.status 1.8.2
|
||||
configured by $0, generated by GNU Autoconf 2.71,
|
||||
with options \\"\$ac_cs_config\\"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
# Initialize Autoconf
|
||||
AC_PREREQ([2.60])
|
||||
AC_INIT([libXi], [1.8.1],
|
||||
AC_INIT([libXi], [1.8.2],
|
||||
[https://gitlab.freedesktop.org/xorg/lib/libXi/issues], [libXi])
|
||||
AC_CONFIG_SRCDIR([Makefile.am])
|
||||
AC_CONFIG_HEADERS([src/config.h])
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xallowdeviceevents
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XALLOWDEVICEEVENTS" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XALLOWDEVICEEVENTS" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xchangedevicedontpropagatelist
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XCHANGEDEVICEDONTPRO" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XCHANGEDEVICEDONTPRO" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xchangekeyboarddevice
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XCHANGEKEYBOARDDEVIC" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XCHANGEKEYBOARDDEVIC" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xchangepointerdevice
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XCHANGEPOINTERDEVICE" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XCHANGEPOINTERDEVICE" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xdevicebell
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XDEVICEBELL" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XDEVICEBELL" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgetdevicecontrol
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGETDEVICECONTROL" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGETDEVICECONTROL" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgetdevicekeymapping
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGETDEVICEKEYMAPPING" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGETDEVICEKEYMAPPING" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgetdevicemodifiermapping
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGETDEVICEMODIFIERMA" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGETDEVICEMODIFIERMA" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgetdevicemotionevents
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGETDEVICEMOTIONEVEN" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGETDEVICEMOTIONEVEN" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgetdeviceproperty
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGETDEVICEPROPERTY" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGETDEVICEPROPERTY" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
@ -57,7 +57,7 @@ void XChangeDeviceProperty( Display *display,
|
|||
Atom type,
|
||||
int format,
|
||||
int mode,
|
||||
const char *data,
|
||||
const unsigned char *data,
|
||||
int nelements)
|
||||
.fi
|
||||
.sp
|
||||
|
|
|
@ -32,7 +32,7 @@ SYNOPSIS
|
|||
Atom type,
|
||||
int format,
|
||||
int mode,
|
||||
const char *data,
|
||||
const unsigned char *data,
|
||||
int nelements)
|
||||
|
||||
void XDeleteDeviceProperty( Display *display,
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgetextensionversion
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGETEXTENSIONVERSION" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGETEXTENSIONVERSION" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgetfeedbackcontrol
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGETFEEDBACKCONTROL" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGETFEEDBACKCONTROL" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgrabdevice
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGRABDEVICE" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGRABDEVICE" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgrabdevicebutton
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGRABDEVICEBUTTON" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGRABDEVICEBUTTON" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xgrabdevicekey
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XGRABDEVICEKEY" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XGRABDEVICEKEY" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xiallowevents
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIALLOWEVENTS" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIALLOWEVENTS" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xibarrierreleasepointer
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIBARRIERRELEASEPOIN" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIBARRIERRELEASEPOIN" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xichangehierarchy
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XICHANGEHIERARCHY" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XICHANGEHIERARCHY" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xichangeproperty
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XICHANGEPROPERTY" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XICHANGEPROPERTY" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xidefinecursor
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIDEFINECURSOR" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIDEFINECURSOR" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xigrabbutton
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIGRABBUTTON" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIGRABBUTTON" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xigrabdevice
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIGRABDEVICE" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIGRABDEVICE" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xigrabenter
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIGRABENTER" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIGRABENTER" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xilistproperties
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XILISTPROPERTIES" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XILISTPROPERTIES" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xiquerydevice
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIQUERYDEVICE" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIQUERYDEVICE" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xiquerypointer
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIQUERYPOINTER" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIQUERYPOINTER" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xiqueryversion
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIQUERYVERSION" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIQUERYVERSION" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xiselectevents
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XISELECTEVENTS" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XISELECTEVENTS" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xisetclientpointer
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XISETCLIENTPOINTER" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XISETCLIENTPOINTER" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xisetfocus
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XISETFOCUS" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XISETFOCUS" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xiwarppointer
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XIWARPPOINTER" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XIWARPPOINTER" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xlistdeviceproperties
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XLISTDEVICEPROPERTIE" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XLISTDEVICEPROPERTIE" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xlistinputdevices
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XLISTINPUTDEVICES" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XLISTINPUTDEVICES" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xopendevice
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XOPENDEVICE" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XOPENDEVICE" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xquerydevicestate
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XQUERYDEVICESTATE" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XQUERYDEVICESTATE" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xselectextensionevent
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XSELECTEXTENSIONEVEN" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XSELECTEXTENSIONEVEN" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xsendextensionevent
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XSENDEXTENSIONEVENT" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XSENDEXTENSIONEVENT" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xsetdevicebuttonmapping
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XSETDEVICEBUTTONMAPP" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XSETDEVICEBUTTONMAPP" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xsetdevicefocus
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XSETDEVICEFOCUS" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XSETDEVICEFOCUS" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xsetdevicemode
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XSETDEVICEMODE" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XSETDEVICEMODE" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
.\" Title: xsetdevicevaluators
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 05/04/2023
|
||||
.\" Date: 09/05/2024
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "XSETDEVICEVALUATORS" "libmansuffix" "05/04/2023" "\ \&" "\ \&"
|
||||
.TH "XSETDEVICEVALUATORS" "libmansuffix" "09/05/2024" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
|
|
@ -1597,6 +1597,8 @@ wireToDeviceEvent(xXIDeviceEvent *in, XGenericEventCookie* cookie)
|
|||
len = sizeDeviceEvent(in->buttons_len * 4, in->valuators_len * 4, ptr);
|
||||
|
||||
cookie->data = ptr_lib = malloc(len);
|
||||
if (!ptr_lib)
|
||||
return 0;
|
||||
|
||||
out = next_block(&ptr_lib, sizeof(XIDeviceEvent));
|
||||
out->display = cookie->display;
|
||||
|
@ -1890,6 +1892,8 @@ wireToDeviceChangedEvent(xXIDeviceChangedEvent *in, XGenericEventCookie *cookie)
|
|||
len = size_classes((xXIAnyInfo*)&in[1], in->num_classes);
|
||||
|
||||
cookie->data = out = malloc(sizeof(XIDeviceChangedEvent) + len);
|
||||
if (!out)
|
||||
return 0;
|
||||
|
||||
out->type = in->type;
|
||||
out->serial = cookie->serial;
|
||||
|
@ -1920,7 +1924,9 @@ wireToHierarchyChangedEvent(xXIHierarchyEvent *in, XGenericEventCookie *cookie)
|
|||
xXIHierarchyInfo *info_in;
|
||||
XIHierarchyEvent *out;
|
||||
|
||||
cookie->data = out = malloc(sizeof(XIHierarchyEvent) + in->num_info * sizeof(XIHierarchyInfo));;
|
||||
cookie->data = out = malloc(sizeof(XIHierarchyEvent) + in->num_info * sizeof(XIHierarchyInfo));
|
||||
if (!out)
|
||||
return 0;
|
||||
|
||||
out->info = (XIHierarchyInfo*)&out[1];
|
||||
out->display = cookie->display;
|
||||
|
@ -2016,6 +2022,9 @@ wireToEnterLeave(xXIEnterEvent *in, XGenericEventCookie *cookie)
|
|||
len = sizeof(XIEnterEvent) + in->buttons_len * 4;
|
||||
|
||||
cookie->data = out = malloc(len);
|
||||
if (!out)
|
||||
return 0;
|
||||
|
||||
out->buttons.mask = (unsigned char*)&out[1];
|
||||
|
||||
out->type = in->type;
|
||||
|
@ -2060,6 +2069,8 @@ wireToPropertyEvent(xXIPropertyEvent *in, XGenericEventCookie *cookie)
|
|||
XIPropertyEvent *out = malloc(sizeof(XIPropertyEvent));
|
||||
|
||||
cookie->data = out;
|
||||
if (!out)
|
||||
return 0;
|
||||
|
||||
out->type = in->type;
|
||||
out->serial = cookie->serial;
|
||||
|
@ -2081,6 +2092,8 @@ wireToTouchOwnershipEvent(xXITouchOwnershipEvent *in,
|
|||
XITouchOwnershipEvent *out = malloc(sizeof(XITouchOwnershipEvent));
|
||||
|
||||
cookie->data = out;
|
||||
if (!out)
|
||||
return 0;
|
||||
|
||||
out->type = in->type;
|
||||
out->serial = cookie->serial;
|
||||
|
@ -2106,6 +2119,8 @@ wireToBarrierEvent(xXIBarrierEvent *in, XGenericEventCookie *cookie)
|
|||
XIBarrierEvent *out = malloc(sizeof(XIBarrierEvent));
|
||||
|
||||
cookie->data = out;
|
||||
if (!out)
|
||||
return 0;
|
||||
|
||||
out->display = cookie->display;
|
||||
out->type = in->type;
|
||||
|
@ -2137,6 +2152,8 @@ wireToPinchEvent(xXIGesturePinchEvent *in,
|
|||
XIGesturePinchEvent *out;
|
||||
|
||||
cookie->data = out = malloc(sizeof(XIGesturePinchEvent));
|
||||
if (!out)
|
||||
return 0;
|
||||
|
||||
out->display = cookie->display;
|
||||
out->type = in->type;
|
||||
|
@ -2182,6 +2199,8 @@ wireToSwipeEvent(xXIGestureSwipeEvent *in,
|
|||
XIGestureSwipeEvent *out;
|
||||
|
||||
cookie->data = out = malloc(sizeof(XIGestureSwipeEvent));
|
||||
if (!out)
|
||||
return 0;
|
||||
|
||||
out->display = cookie->display;
|
||||
out->type = in->type;
|
||||
|
|
|
@ -67,7 +67,7 @@ XFeedbackState *
|
|||
XGetFeedbackControl(
|
||||
register Display *dpy,
|
||||
XDevice *dev,
|
||||
int *num_feedbacks)
|
||||
int *num_feedbacks_out)
|
||||
{
|
||||
XFeedbackState *Feedback = NULL;
|
||||
XFeedbackState *Sav = NULL;
|
||||
|
@ -77,6 +77,8 @@ XGetFeedbackControl(
|
|||
xGetFeedbackControlReq *req;
|
||||
xGetFeedbackControlReply rep;
|
||||
XExtDisplayInfo *info = XInput_find_display(dpy);
|
||||
int num_feedbacks = 0;
|
||||
int known_feedbacks = 0;
|
||||
|
||||
LockDisplay(dpy);
|
||||
if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1)
|
||||
|
@ -95,7 +97,7 @@ XGetFeedbackControl(
|
|||
size_t size = 0;
|
||||
int i;
|
||||
|
||||
*num_feedbacks = rep.num_feedbacks;
|
||||
num_feedbacks = rep.num_feedbacks;
|
||||
|
||||
if (rep.length < (INT_MAX >> 2)) {
|
||||
nbytes = rep.length << 2;
|
||||
|
@ -109,7 +111,7 @@ XGetFeedbackControl(
|
|||
end = (char *)f + nbytes;
|
||||
_XRead(dpy, (char *)f, nbytes);
|
||||
|
||||
for (i = 0; i < *num_feedbacks; i++) {
|
||||
for (i = 0; i < num_feedbacks; i++) {
|
||||
if ((char *)f + sizeof(*f) > end ||
|
||||
f->length == 0 || f->length > nbytes)
|
||||
goto out;
|
||||
|
@ -141,7 +143,7 @@ XGetFeedbackControl(
|
|||
size += sizeof(XBellFeedbackState);
|
||||
break;
|
||||
default:
|
||||
size += f->length;
|
||||
/* unknown classes are skipped */
|
||||
break;
|
||||
}
|
||||
if (size > INT_MAX)
|
||||
|
@ -154,9 +156,11 @@ XGetFeedbackControl(
|
|||
goto out;
|
||||
|
||||
Sav = Feedback;
|
||||
known_feedbacks = num_feedbacks;
|
||||
|
||||
f = sav;
|
||||
for (i = 0; i < *num_feedbacks; i++) {
|
||||
for (i = 0; i < num_feedbacks; i++) {
|
||||
Bool skip = False;
|
||||
switch (f->class) {
|
||||
case KbdFeedbackClass:
|
||||
{
|
||||
|
@ -262,14 +266,18 @@ XGetFeedbackControl(
|
|||
break;
|
||||
}
|
||||
default:
|
||||
--known_feedbacks;
|
||||
skip = True;
|
||||
break;
|
||||
}
|
||||
f = (xFeedbackState *) ((char *)f + f->length);
|
||||
Feedback = (XFeedbackState *) ((char *)Feedback + Feedback->length);
|
||||
if (!skip)
|
||||
Feedback = (XFeedbackState *) ((char *)Feedback + Feedback->length);
|
||||
}
|
||||
}
|
||||
out:
|
||||
XFree((char *)sav);
|
||||
*num_feedbacks_out = known_feedbacks;
|
||||
|
||||
UnlockDisplay(dpy);
|
||||
SyncHandle();
|
||||
|
|
|
@ -150,7 +150,7 @@ void
|
|||
XIFreeDeviceInfo(XIDeviceInfo* info)
|
||||
{
|
||||
XIDeviceInfo *ptr = info;
|
||||
while(ptr->name)
|
||||
while(ptr && ptr->name)
|
||||
{
|
||||
Xfree(ptr->classes);
|
||||
Xfree(ptr->name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue