diff options
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); |