mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
workspaces: slight struct reordering
This commit is contained in:
parent
750d37b16c
commit
d9866aafa5
9 changed files with 40 additions and 38 deletions
|
|
@ -106,7 +106,7 @@ get_special(struct server *server, struct wlr_scene_node *node)
|
|||
}
|
||||
if (node->parent == server->view_tree) {
|
||||
struct workspace *workspace;
|
||||
wl_list_for_each(workspace, &server->workspaces, link) {
|
||||
wl_list_for_each(workspace, &server->workspaces.all, link) {
|
||||
if (&workspace->tree->node == node) {
|
||||
return workspace->name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue