aboutsummaryrefslogtreecommitdiff
path: root/backend/headless/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/headless/backend.c')
-rw-r--r--backend/headless/backend.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/backend/headless/backend.c b/backend/headless/backend.c
index b7788105..e44595de 100644
--- a/backend/headless/backend.c
+++ b/backend/headless/backend.c
@@ -25,12 +25,6 @@ static bool backend_start(struct wlr_backend *wlr_backend) {
&output->wlr_output);
}
- struct wlr_headless_input_device *input_device;
- wl_list_for_each(input_device, &backend->input_devices, link) {
- wlr_signal_emit_safe(&backend->backend.events.new_input,
- &input_device->wlr_input_device);
- }
-
backend->started = true;
return true;
}
@@ -49,12 +43,6 @@ static void backend_destroy(struct wlr_backend *wlr_backend) {
wlr_output_destroy(&output->wlr_output);
}
- struct wlr_headless_input_device *input_device, *input_device_tmp;
- wl_list_for_each_safe(input_device, input_device_tmp,
- &backend->input_devices, link) {
- wlr_input_device_destroy(&input_device->wlr_input_device);
- }
-
wlr_backend_finish(wlr_backend);
free(backend);
@@ -92,7 +80,6 @@ struct wlr_backend *wlr_headless_backend_create(struct wl_display *display) {
backend->display = display;
wl_list_init(&backend->outputs);
- wl_list_init(&backend->input_devices);
backend->display_destroy.notify = handle_display_destroy;
wl_display_add_destroy_listener(display, &backend->display_destroy);