mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-07 13:29:49 -05:00
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:
parent
f451ea3639
commit
e3ee2cd9c7
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue