Skip to content
Commits on Source (14)
#! /bin/sh
srcdir=`dirname $0`
srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
cd "$srcdir"
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
cd "$ORIGDIR" || exit $?
git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
git config --local format.subjectPrefix "PATCH xf86-input-evdev"
if test -z "$NOCONFIGURE"; then
$srcdir/configure "$@"
exec "$srcdir"/configure "$@"
fi
......@@ -23,7 +23,7 @@
# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xf86-input-evdev],
[2.10.5],
[2.10.6],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
[xf86-input-evdev])
AC_CONFIG_SRCDIR([Makefile.am])
......
xserver-xorg-input-evdev (1:2.10.6-1) unstable; urgency=medium
* New upstream release.
* control: Update vcs urls.
* Bump debhelper to 10.
* control: Bump policy to 4.2.0, no changes.
-- Timo Aaltonen <tjaalton@debian.org> Thu, 23 Aug 2018 16:45:13 +0300
xserver-xorg-input-evdev (1:2.10.5-1) unstable; urgency=medium
* Team upload.
......
......@@ -3,8 +3,7 @@ Section: x11
Priority: optional
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Build-Depends:
debhelper (>= 9),
dh-autoreconf,
debhelper (>= 10),
pkg-config,
quilt,
xserver-xorg-dev (>= 2:1.15.99),
......@@ -17,10 +16,10 @@ Build-Depends:
libudev-dev,
libmtdev-dev,
libevdev-dev (>= 1.2.2+dfsg-1~),
Standards-Version: 3.9.8
Standards-Version: 4.2.0
Homepage: https://www.x.org
Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev.git
Vcs-Browser: https://anonscm.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev.git
Vcs-Git: https://salsa.debian.org/xorg-team/driver/xserver-xorg-input-evdev.git
Vcs-Browser: https://salsa.debian.org/xorg-team/driver/xserver-xorg-input-evdev
Package: xserver-xorg-input-evdev
Architecture: linux-any
......
#!/usr/bin/make -f
override_dh_auto_configure:
dh_auto_configure -- --disable-silent-rules \
dh_auto_configure -- \
--libdir=\$${exec_prefix}/lib
# Install in debian/tmp to retain control through dh_install:
......@@ -18,7 +18,7 @@ override_dh_shlibdeps:
dh_shlibdeps -- --warnings=6
%:
dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
dh $@ --with quilt,xsf --builddirectory=build/
# Debug package:
override_dh_strip:
......
......@@ -551,6 +551,16 @@ EvdevProcessProximityState(InputInfoPtr pInfo)
}
}
/* Wacom's last frame resets all values to 0, including x/y.
Skip over this. */
if (prox_state == 0) {
int v;
if (valuator_mask_fetch(pEvdev->abs_vals, 0, &v) && v == 0)
valuator_mask_unset(pEvdev->abs_vals, 0);
if (valuator_mask_fetch(pEvdev->abs_vals, 1, &v) && v == 0)
valuator_mask_unset(pEvdev->abs_vals, 1);
}
if ((prox_state && !pEvdev->in_proximity) ||
(!prox_state && pEvdev->in_proximity))
{
......@@ -905,7 +915,7 @@ EvdevPostProximityEvents(InputInfoPtr pInfo, int which)
break;
case EV_QUEUE_PROXIMITY:
if (pEvdev->queue[i].val == which)
xf86PostProximityEvent(pInfo->dev, which, 0, 0);
xf86PostProximityEventM(pInfo->dev, which, pEvdev->old_vals);
break;
}
}
......@@ -2353,8 +2363,10 @@ EvdevProbe(InputInfoPtr pInfo)
pInfo->type_name = XI_TOUCHSCREEN;
} else {
if (!libevdev_has_event_code(pEvdev->dev, EV_REL, REL_X) ||
!libevdev_has_event_code(pEvdev->dev, EV_REL, REL_Y))
!libevdev_has_event_code(pEvdev->dev, EV_REL, REL_Y)) {
pEvdev->flags |= EVDEV_RELATIVE_EVENTS;
EvdevForceXY(pInfo, Relative);
}
xf86IDrvMsg(pInfo, X_INFO, "Configuring as mouse\n");
pInfo->type_name = XI_MOUSE;
}
......@@ -2485,7 +2497,7 @@ EvdevOpenDevice(InputInfoPtr pInfo)
}
if (pInfo->fd < 0) {
xf86IDrvMsg(pInfo, X_ERROR, "Unable to open evdev device \"%s\".\n", device);
xf86IDrvMsg(pInfo, X_ERROR, "Unable to open evdev device \"%s\" (%s).\n", device, strerror(errno));
return BadValue;
}
......