backend/libinput: remove wlr_input_device_impl

This commit is contained in:
Simon Zeni 2022-02-09 16:03:12 -05:00
parent 887516d004
commit 91ba28e020
9 changed files with 64 additions and 35 deletions

View file

@ -145,7 +145,7 @@ static void backend_destroy(struct wlr_backend *wlr_backend) {
wl_array_for_each(wlr_devices_ptr, &backend->wlr_device_lists) {
struct wlr_libinput_input_device *dev, *tmp;
wl_list_for_each_safe(dev, tmp, *wlr_devices_ptr, link) {
wlr_input_device_destroy(&dev->wlr_input_device);
destroy_libinput_input_device(dev);
}
free(*wlr_devices_ptr);
}