aboutsummaryrefslogtreecommitdiff
path: root/backend/headless/input_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/headless/input_device.c')
-rw-r--r--backend/headless/input_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/headless/input_device.c b/backend/headless/input_device.c
index 68e7ce24..6b2bc4e7 100644
--- a/backend/headless/input_device.c
+++ b/backend/headless/input_device.c
@@ -12,7 +12,6 @@
static void input_device_destroy(struct wlr_input_device *wlr_dev) {
struct wlr_headless_input_device *device =
(struct wlr_headless_input_device *)wlr_dev;
- wlr_signal_emit_safe(&device->backend->backend.events.input_remove, wlr_dev);
free(device);
}
@@ -89,7 +88,7 @@ struct wlr_input_device *wlr_headless_add_input_device(
wl_list_insert(&backend->input_devices, &wlr_device->link);
if (backend->started) {
- wlr_signal_emit_safe(&backend->backend.events.input_add, wlr_device);
+ wlr_signal_emit_safe(&backend->backend.events.new_input, wlr_device);
}
return wlr_device;