Commit a7596102 authored by Peter Hutterer's avatar Peter Hutterer

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 libinput/libinput#153Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 21ff2ca7
......@@ -1705,7 +1705,7 @@ xf86libinput_handle_touch(InputInfoPtr pInfo,
if ((driver_data->capabilities & CAP_TOUCH) == 0)
slot = libinput_event_touch_get_slot(event);
slot = libinput_event_touch_get_seat_slot(event);
switch (event_type) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment