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/border.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/border.c') diff --git a/sway/border.c b/sway/border.c index 7600351a..9bc25816 100644 --- a/sway/border.c +++ b/sway/border.c @@ -318,7 +318,7 @@ void update_view_border(swayc_t *view) { // for tabbed/stacked layouts the focused view has to draw all the // titlebars of the hidden views. swayc_t *p = NULL; - if (view->parent->focused == view && (p = swayc_tabbed_stacked_parent(view))) { + if (view->parent->focused == view && (p = swayc_tabbed_stacked_ancestor(view))) { struct wlc_geometry g = { .origin = { .x = p->x, -- cgit v1.2.3