From b39249508f458e302d843c440db8f992e1d545ca Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Sun, 31 Jul 2016 20:32:40 -0400 Subject: Refactor functions to update container borders Replace `update_view_border()` with `update_container_border()`. The latter should handle both the case where the container is a view or if the container has children. --- sway/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/commands.c') diff --git a/sway/commands.c b/sway/commands.c index 28dcc996..a65e0a01 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -2340,7 +2340,7 @@ static struct cmd_results *_do_split(int argc, char **argv, int layout) { // update container title if tabbed/stacked if (swayc_tabbed_stacked_ancestor(focused)) { - update_view_border(focused); + update_container_border(focused); swayc_t *output = swayc_parent_by_type(focused, C_OUTPUT); // schedule render to make changes take effect right away, // otherwise we would have to wait for the view to render, -- cgit v1.2.3