mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
types/wlr_input_device: remove wlr_input_device_destroy
This commit is contained in:
parent
9d8dc026e5
commit
1bb2631c5c
3 changed files with 3 additions and 44 deletions
|
|
@ -571,9 +571,6 @@ void destroy_wl_input_device(struct wlr_wl_input_device *dev) {
|
|||
wlr_touch_finish(wlr_dev->touch);
|
||||
free(wlr_dev->touch);
|
||||
break;
|
||||
default:
|
||||
wlr_input_device_destroy(wlr_dev);
|
||||
break;
|
||||
}
|
||||
}
|
||||
wl_list_remove(&dev->link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue