libinput_event_touch_get_slot always returns -1 for single touch devices. Using libinput_event_touch_get_seat_slot instead ensures that they are assigned actual slot ids. Also, this is what Weston does, so this change yields a more consistent behaviour between different compositors. |
||
|---|---|---|
| .. | ||
| backend.c | ||
| events.c | ||
| keyboard.c | ||
| pointer.c | ||
| switch.c | ||
| tablet_pad.c | ||
| tablet_tool.c | ||
| touch.c | ||