summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorTony Crisci <[email protected]>2016-07-31 20:32:40 -0400
committerTony Crisci <[email protected]>2016-07-31 20:32:40 -0400
commitb39249508f458e302d843c440db8f992e1d545ca (patch)
treeaff103964eb013f246674346fcb6685d593e98bd /sway/commands.c
parentf78d07d39bb4e401920efb1396cb85d9cadd8adf (diff)
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.
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
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,