From e8c03e9ce9aa54b6c1866c8086cdcd8830399830 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Sat, 11 Apr 2026 13:40:22 +0100 Subject: [PATCH] wlr_ext_workspace_v1.c: add new workspaces to end of list ...so that panels/bars like xfce4-panel and waybar show workspaces in the right order. --- types/wlr_ext_workspace_v1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/wlr_ext_workspace_v1.c b/types/wlr_ext_workspace_v1.c index 7aaf80338..95b8a4997 100644 --- a/types/wlr_ext_workspace_v1.c +++ b/types/wlr_ext_workspace_v1.c @@ -790,7 +790,7 @@ struct wlr_ext_workspace_handle_v1 *wlr_ext_workspace_handle_v1_create( wl_array_init(&workspace->coordinates); wl_signal_init(&workspace->events.destroy); - wl_list_insert(&manager->workspaces, &workspace->link); + wl_list_insert(manager->workspaces.prev, &workspace->link); struct wlr_ext_workspace_manager_v1_resource *manager_res; wl_list_for_each(manager_res, &manager->resources, link) {