aboutsummaryrefslogtreecommitdiff
path: root/sway/border.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-04-01 13:36:36 +0200
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-04-25 00:00:49 +0200
commit8d700fe008ccf9f7eb4664e236277c9f30a449fb (patch)
treefb9f36de0acca621a6995db59c52cf3eb2002770 /sway/border.c
parentec7ff769c7b4da616ebe6bfd90b70350dd39e166 (diff)
Fix problems with floating windows
Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace.
Diffstat (limited to 'sway/border.c')
-rw-r--r--sway/border.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/border.c b/sway/border.c
index ada5af2a..061c1427 100644
--- a/sway/border.c
+++ b/sway/border.c
@@ -237,7 +237,7 @@ void update_view_border(swayc_t *view) {
swayc_t *p = view->parent;
- if (p->layout == L_TABBED || p->layout == L_STACKED) {
+ if (swayc_is_tabbed_stacked(view)) {
cr = create_border_buffer(view, view->border_geometry, &surface);
if (focused == view) {
render_borders(view, cr, &config->border_colors.focused, false);