aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/libinput/switch.c')
-rw-r--r--backend/libinput/switch.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/backend/libinput/switch.c b/backend/libinput/switch.c
index f2d5409b..586ec0c8 100644
--- a/backend/libinput/switch.c
+++ b/backend/libinput/switch.c
@@ -4,12 +4,8 @@
#include "backend/libinput.h"
#include "util/signal.h"
-static void switch_destroy(struct wlr_switch *wlr_switch) {
- /* wlr_switch belongs to the wlr_libinput_input_device */
-}
-
const struct wlr_switch_impl libinput_switch_impl = {
- .destroy = switch_destroy,
+ .name = "libinput-switch",
};
void init_device_switch(struct wlr_libinput_input_device *dev) {