Blame SOURCES/0001-Use-the-seat-slot-not-the-device-slot-for-touch-even.patch

e6d3a2
From a759610292a53067fc811e70703bffff8dc0cb16 Mon Sep 17 00:00:00 2001
e6d3a2
From: Peter Hutterer <peter.hutterer@who-t.net>
e6d3a2
Date: Thu, 4 Oct 2018 11:45:46 +1000
e6d3a2
Subject: [PATCH xf86-input-libinput] Use the seat slot, not the device slot
e6d3a2
 for touch events
e6d3a2
e6d3a2
The device slot is per-device, so if we have more than one device we may get a
e6d3a2
touch down event for a slot already in use.
e6d3a2
e6d3a2
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/153
e6d3a2
e6d3a2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
e6d3a2
---
e6d3a2
 src/xf86libinput.c | 2 +-
e6d3a2
 1 file changed, 1 insertion(+), 1 deletion(-)
e6d3a2
e6d3a2
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
e6d3a2
index 1277a70..a00b0a5 100644
e6d3a2
--- a/src/xf86libinput.c
e6d3a2
+++ b/src/xf86libinput.c
e6d3a2
@@ -1705,7 +1705,7 @@ xf86libinput_handle_touch(InputInfoPtr pInfo,
e6d3a2
 	if ((driver_data->capabilities & CAP_TOUCH) == 0)
e6d3a2
 		return;
e6d3a2
 
e6d3a2
-	slot = libinput_event_touch_get_slot(event);
e6d3a2
+	slot = libinput_event_touch_get_seat_slot(event);
e6d3a2
 
e6d3a2
 	switch (event_type) {
e6d3a2
 		case LIBINPUT_EVENT_TOUCH_DOWN:
e6d3a2
-- 
e6d3a2
2.19.1
e6d3a2