backends/native: Use libinput seat slot API

Instead of creating a seat-wide touch slot ID ourselves, rely on libinput
API doing this for us.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1486
This commit is contained in:
Carlos Garnacho
2020-05-07 12:41:32 +02:00
committed by Jonas Ådahl
parent 439e9a5567
commit c9a405ff9e
4 changed files with 50 additions and 58 deletions

View File

@ -642,7 +642,8 @@ meta_virtual_input_device_native_notify_touch_up (ClutterVirtualInputDevice *vir
touch_state->coords.x,
touch_state->coords.y);
meta_input_device_native_release_touch_state (device_evdev, touch_state);
meta_seat_native_release_touch_state (virtual_evdev->seat,
touch_state->seat_slot);
}
static void