Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / driver / xserver-xorg-input-libinput
Commits: 21ff2ca7 by Peter Hutterer at 2018-07-19T05:58:06Z Remove unused assignment dev is our list iterator below, this is a dead assignment Signed-off-by: Peter Hutterer <[email protected]> - - - - - a7596102 by Peter Hutterer at 2018-10-04T01:47:46Z Use the seat slot, not the device slot for touch events The device slot is per-device, so if we have more than one device we may get a touch down event for a slot already in use. Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/153 Signed-off-by: Peter Hutterer <[email protected]> - - - - - e26fc3c6 by Peter Hutterer at 2018-10-14T23:36:36Z xf86-input-libinput 0.28.1 Signed-off-by: Peter Hutterer <[email protected]> - - - - - 2 changed files: - configure.ac - src/xf86libinput.c Changes: ===================================== configure.ac ===================================== @@ -23,7 +23,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([xf86-input-libinput], - [0.28.0], + [0.28.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xf86-input-libinput]) AC_CONFIG_SRCDIR([Makefile.am]) ===================================== src/xf86libinput.c ===================================== @@ -1705,7 +1705,7 @@ xf86libinput_handle_touch(InputInfoPtr pInfo, if ((driver_data->capabilities & CAP_TOUCH) == 0) return; - slot = libinput_event_touch_get_slot(event); + slot = libinput_event_touch_get_seat_slot(event); switch (event_type) { case LIBINPUT_EVENT_TOUCH_DOWN: @@ -2092,7 +2092,7 @@ static inline DeviceIntPtr xf86libinput_find_device_for_tool(InputInfoPtr pInfo, struct libinput_tablet_tool *tool) { - struct xf86libinput *dev = pInfo->private; + struct xf86libinput *dev; struct xf86libinput *driver_data = pInfo->private; struct xf86libinput_device *shared_device = driver_data->shared_device; uint64_t serial = libinput_tablet_tool_get_serial(tool); View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-input-libinput/compare/c67f191d5bc1a4a130f89743a3ce35ee06c90f85...e26fc3c66c04eb3d3164e6a9e7c983154fb00856 -- View it on GitLab: https://salsa.debian.org/xorg-team/driver/xserver-xorg-input-libinput/compare/c67f191d5bc1a4a130f89743a3ce35ee06c90f85...e26fc3c66c04eb3d3164e6a9e7c983154fb00856 You're receiving this email because of your account on salsa.debian.org.

