From ad7605675ef5d1fc99653e80c3c846429abfda25 Mon Sep 17 00:00:00 2001 From: "D.B" Date: Sat, 16 Jul 2016 15:11:08 +0200 Subject: refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed --- sway/focus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/focus.c') 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); } -- cgit v1.2.3