Remove duplicate arrange_container

This commit is contained in:
Filip Vujičić 2025-04-14 20:58:20 +12:00 committed by Kenny Levinsen
parent 3f0b3f8f9b
commit 7733bf9963

View file

@ -375,7 +375,6 @@ static void arrange_children(enum sway_container_layout layout, list_t *children
wlr_scene_node_set_enabled(&child->border.tree->node, true);
wlr_scene_node_set_position(&child->scene_tree->node, off, 0);
wlr_scene_node_reparent(&child->scene_tree->node, content);
arrange_container(child, cwidth, height, true, gaps);
if (cwidth > 0 && height > 0) {
arrange_container(child, cwidth, height, true, gaps);
off += cwidth + gaps;