aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-08 13:06:29 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-08 13:08:00 -0400
commite2b2fb0a0e3e7db3046aeef485621ff3f490cd61 (patch)
tree1ef7bdd44c5b7684e2c5e7118d5b7ffdda1e4ba6 /sway/tree/container.c
parentRestore workspaces to outputs based on priority (diff)
downloadsway-e2b2fb0a0e3e7db3046aeef485621ff3f490cd61.tar.gz
sway-e2b2fb0a0e3e7db3046aeef485621ff3f490cd61.tar.zst
sway-e2b2fb0a0e3e7db3046aeef485621ff3f490cd61.zip
Switch restore workspaces to a nested for-loop
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index f36820b3..cd2c083c 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -445,9 +445,6 @@ void container_descendants(struct sway_container *root,
445 func(item, data); 445 func(item, data);
446 } 446 }
447 container_descendants(item, type, func, data); 447 container_descendants(item, type, func, data);
448 if (i < root->children->length && root->children->items[i] != item) {
449 --i;
450 }
451 } 448 }
452} 449}
453 450