[PATCH xsetpointer] Fail configure. RIP xsetpointer.

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 2 14:07:28 PDT 2010


XChangePointerDevice(3) is deprecated since input-hotplug (server 1.4) and
the introduction of virtual core devices. It unconditionally returns
BadDevice.

xsetpointer is thus pointless, and the one function that still works
(xsetpointer -l) is available through xinput list.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 configure.ac |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 38e50b3..152574d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,4 +45,14 @@ PKG_CHECK_MODULES(XSETPOINTER, xi x11 [inputproto >= 1.4])
 AC_SUBST(XSETPOINTER_CFLAGS)
 AC_SUBST(XSETPOINTER_LIBS)
 
+
+AC_MSG_ERROR([
+ **************************************************************
+ This program is deprecated will not receive further patches.
+ xsetpointer relies on XChangePointerDevice(3) which is deprecated
+ since X Server 1.4.
+
+ Functionality of xsetpointer -l is provided by xinput --list.
+ **************************************************************])
+
 AC_OUTPUT([Makefile])
-- 
1.7.3.1



More information about the xorg-devel mailing list