From 95258cf442d69f737cc30710c0c8f6d8ef559a71 Mon Sep 17 00:00:00 2001 From: Dudemanguy911 Date: Sat, 12 May 2018 14:04:49 -0500 Subject: [PATCH] use arrange_children_of instead of view_autoconfigure --- sway/desktop/output.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index f28ae02d9..c67fb0c02 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -716,23 +716,23 @@ static void render_container_tabbed(struct sway_output *output, child, colors, title_texture, i); child->sway_view->border = border_type; child->sway_view->border_thickness = border_thickness; - view_autoconfigure(child->sway_view); } else if (border_type == B_PIXEL) { render_container_tabbed_border_pixel(output, damage, child, colors, i); child->sway_view->border = border_type; child->sway_view->border_thickness = border_thickness; - view_autoconfigure(child->sway_view); } else { child->sway_view->border = border_type; child->sway_view->border_thickness = border_thickness; - view_autoconfigure(child->sway_view); } } else { render_container(output, damage, child, parent_focused || focus == child); } } + + arrange_children_of(con); + if (active_child) { render_container_border_outline_normal(output, damage, active_child, focused_colors);