aboutsummaryrefslogtreecommitdiff
path: root/sway/focus.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-16 10:26:45 -0400
committerGitHub <noreply@github.com>2016-07-16 10:26:45 -0400
commitd5ad8c9036f37576af94c6cbbe79e68415bb7e22 (patch)
tree001033de86cb34fca09837a643a0818f299cdf3e /sway/focus.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/focus.c')
-rw-r--r--sway/focus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/focus.c b/sway/focus.c
index 0d9ee7e3..ff064b72 100644
--- a/sway/focus.c
+++ b/sway/focus.c
@@ -152,7 +152,7 @@ bool set_focused_container(swayc_t *c) {
}
// rearrange if parent container is tabbed/stacked
- swayc_t *parent = swayc_tabbed_stacked_parent(p);
+ swayc_t *parent = swayc_tabbed_stacked_ancestor(p);
if (parent != NULL) {
arrange_windows(parent, -1, -1);
}