mirror of
https://github.com/swaywm/sway.git
synced 2026-03-25 09:07:17 -04:00
Remove duplicate arrange_container
This commit is contained in:
parent
3f0b3f8f9b
commit
7733bf9963
1 changed files with 0 additions and 1 deletions
|
|
@ -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_enabled(&child->border.tree->node, true);
|
||||||
wlr_scene_node_set_position(&child->scene_tree->node, off, 0);
|
wlr_scene_node_set_position(&child->scene_tree->node, off, 0);
|
||||||
wlr_scene_node_reparent(&child->scene_tree->node, content);
|
wlr_scene_node_reparent(&child->scene_tree->node, content);
|
||||||
arrange_container(child, cwidth, height, true, gaps);
|
|
||||||
if (cwidth > 0 && height > 0) {
|
if (cwidth > 0 && height > 0) {
|
||||||
arrange_container(child, cwidth, height, true, gaps);
|
arrange_container(child, cwidth, height, true, gaps);
|
||||||
off += cwidth + gaps;
|
off += cwidth + gaps;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue