aboutsummaryrefslogtreecommitdiff
path: root/backend/multi
diff options
context:
space:
mode:
Diffstat (limited to 'backend/multi')
-rw-r--r--backend/multi/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c
index 50851109..7ba25ca8 100644
--- a/backend/multi/backend.c
+++ b/backend/multi/backend.c
@@ -183,7 +183,7 @@ bool wlr_multi_backend_add(struct wlr_backend *_multi,
wlr_log(WLR_ERROR, "Could not add backend: allocation failed");
return false;
}
- wl_list_insert(&multi->backends, &sub->link);
+ wl_list_insert(multi->backends.prev, &sub->link);
sub->backend = backend;
sub->container = &multi->backend;