summaryrefslogtreecommitdiffstats
path: root/sway/focus.c
diff options
context:
space:
mode:
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) {
152 } 152 }
153 153
154 // rearrange if parent container is tabbed/stacked 154 // rearrange if parent container is tabbed/stacked
155 swayc_t *parent = swayc_tabbed_stacked_parent(p); 155 swayc_t *parent = swayc_tabbed_stacked_ancestor(p);
156 if (parent != NULL) { 156 if (parent != NULL) {
157 arrange_windows(parent, -1, -1); 157 arrange_windows(parent, -1, -1);
158 } 158 }