aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-03-02 16:48:57 -0500
committerKirill Primak <vyivel@eclair.cafe>2022-03-07 16:37:41 +0000
commit1bb2631c5c05e4b74c1a3163ab030ae42c7d8fe8 (patch)
treea1f5ff8f60c6effa0772ed38600974fbb78f5b8f /backend
parent9d8dc026e50e9497b9268be40b5a7d2766cffe72 (diff)
types/wlr_input_device: remove wlr_input_device_destroy
Diffstat (limited to 'backend')
-rw-r--r--backend/wayland/seat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/wayland/seat.c b/backend/wayland/seat.c
index de756d80..e9785d9a 100644
--- a/backend/wayland/seat.c
+++ b/backend/wayland/seat.c
@@ -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);