diff options
author | D.B <[email protected]> | 2016-07-16 15:11:08 +0200 |
---|---|---|
committer | D.B <[email protected]> | 2016-07-16 15:34:43 +0200 |
commit | ad7605675ef5d1fc99653e80c3c846429abfda25 (patch) | |
tree | 001033de86cb34fca09837a643a0818f299cdf3e /sway/commands.c | |
parent | 7aeedf0264e1745f2993a430a9cfef46a31e75ca (diff) |
refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 871b3078..b9399dec 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -2315,7 +2315,7 @@ static struct cmd_results *_do_split(int argc, char **argv, int layout) { } // update container title if tabbed/stacked - if (swayc_tabbed_stacked_parent(focused)) { + if (swayc_tabbed_stacked_ancestor(focused)) { update_view_border(focused); swayc_t *output = swayc_parent_by_type(focused, C_OUTPUT); // schedule render to make changes take effect right away, |