rootston exit: fix libinput destroy

The wlr_list -> wl_list rework changed 'wlr_devices' to
wl_list, but missed its use on destroy.
This commit is contained in:
Dominique Martinet 2017-11-01 19:35:39 +01:00
parent f451ea3639
commit e3ee2cd9c7
2 changed files with 4 additions and 4 deletions

View file

@ -26,6 +26,7 @@ struct wlr_input_device *get_appropriate_device(
static void wlr_libinput_device_destroy(struct wlr_input_device *_dev) {
struct wlr_libinput_input_device *dev = (struct wlr_libinput_input_device *)_dev;
libinput_device_unref(dev->handle);
wl_list_remove(&dev->wlr_input_device.link);
free(dev);
}