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

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