mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
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.
This commit is contained in:
parent
8dd1a77615
commit
e8c03e9ce9
1 changed files with 1 additions and 1 deletions
|
|
@ -790,7 +790,7 @@ struct wlr_ext_workspace_handle_v1 *wlr_ext_workspace_handle_v1_create(
|
||||||
wl_array_init(&workspace->coordinates);
|
wl_array_init(&workspace->coordinates);
|
||||||
wl_signal_init(&workspace->events.destroy);
|
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;
|
struct wlr_ext_workspace_manager_v1_resource *manager_res;
|
||||||
wl_list_for_each(manager_res, &manager->resources, link) {
|
wl_list_for_each(manager_res, &manager->resources, link) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue