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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/headless/backend.c b/backend/headless/backend.c
index 886be276..ad0c4ebf 100644
--- a/backend/headless/backend.c
+++ b/backend/headless/backend.c
@@ -33,8 +33,7 @@ static bool backend_start(struct wlr_backend *wlr_backend) {
}
struct wlr_headless_input_device *input_device;
- wl_list_for_each(input_device, &backend->input_devices,
- wlr_input_device.link) {
+ wl_list_for_each(input_device, &backend->input_devices, link) {
wlr_signal_emit_safe(&backend->backend.events.new_input,
&input_device->wlr_input_device);
}
@@ -59,7 +58,7 @@ static void backend_destroy(struct wlr_backend *wlr_backend) {
struct wlr_headless_input_device *input_device, *input_device_tmp;
wl_list_for_each_safe(input_device, input_device_tmp,
- &backend->input_devices, wlr_input_device.link) {
+ &backend->input_devices, link) {
wlr_input_device_destroy(&input_device->wlr_input_device);
}