mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
Switch restore workspaces to a nested for-loop
This commit is contained in:
parent
5c9a917df9
commit
e2b2fb0a0e
3 changed files with 22 additions and 21 deletions
|
|
@ -445,9 +445,6 @@ void container_descendants(struct sway_container *root,
|
|||
func(item, data);
|
||||
}
|
||||
container_descendants(item, type, func, data);
|
||||
if (i < root->children->length && root->children->items[i] != item) {
|
||||
--i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue