diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-16 10:26:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-16 10:26:45 -0400 |
commit | d5ad8c9036f37576af94c6cbbe79e68415bb7e22 (patch) | |
tree | 001033de86cb34fca09837a643a0818f299cdf3e /sway/border.c | |
parent | 7aeedf0264e1745f2993a430a9cfef46a31e75ca (diff) | |
parent | ad7605675ef5d1fc99653e80c3c846429abfda25 (diff) |
Merge pull request #754 from thejan2009/containers-inside-tabbed-stacked
Clarify which tabbed/stacked container we want (fixes #751)
Diffstat (limited to 'sway/border.c')
-rw-r--r-- | sway/border.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |