summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2016-07-16 10:26:45 -0400
committerGitHub <[email protected]>2016-07-16 10:26:45 -0400
commitd5ad8c9036f37576af94c6cbbe79e68415bb7e22 (patch)
tree001033de86cb34fca09837a643a0818f299cdf3e /sway/commands.c
parent7aeedf0264e1745f2993a430a9cfef46a31e75ca (diff)
parentad7605675ef5d1fc99653e80c3c846429abfda25 (diff)
Merge pull request #754 from thejan2009/containers-inside-tabbed-stacked
Clarify which tabbed/stacked container we want (fixes #751)
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 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,