diff options
author | 2016-04-01 13:36:36 +0200 | |
---|---|---|
committer | 2016-04-25 00:00:49 +0200 | |
commit | 8d700fe008ccf9f7eb4664e236277c9f30a449fb (patch) | |
tree | fb9f36de0acca621a6995db59c52cf3eb2002770 /sway/border.c | |
parent | Tabbed and stacked layout (diff) | |
download | sway-8d700fe008ccf9f7eb4664e236277c9f30a449fb.tar.gz sway-8d700fe008ccf9f7eb4664e236277c9f30a449fb.tar.zst sway-8d700fe008ccf9f7eb4664e236277c9f30a449fb.zip |
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.c | 2 |
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) { | |||
237 | 237 | ||
238 | swayc_t *p = view->parent; | 238 | swayc_t *p = view->parent; |
239 | 239 | ||
240 | if (p->layout == L_TABBED || p->layout == L_STACKED) { | 240 | if (swayc_is_tabbed_stacked(view)) { |
241 | cr = create_border_buffer(view, view->border_geometry, &surface); | 241 | cr = create_border_buffer(view, view->border_geometry, &surface); |
242 | if (focused == view) { | 242 | if (focused == view) { |
243 | render_borders(view, cr, &config->border_colors.focused, false); | 243 | render_borders(view, cr, &config->border_colors.focused, false); |