diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index f0f1603a..e1c44a28 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -645,7 +645,7 @@ static void render_container_simple(struct sway_output *output, | |||
645 | if (child->sway_view->border == B_NORMAL) { | 645 | if (child->sway_view->border == B_NORMAL) { |
646 | render_titlebar(output, damage, child, child->x, child->y, | 646 | render_titlebar(output, damage, child, child->x, child->y, |
647 | child->width, colors, title_texture, marks_texture); | 647 | child->width, colors, title_texture, marks_texture); |
648 | } else { | 648 | } else if (con->sway_view->border != B_NONE) { |
649 | render_top_border(output, damage, child, colors); | 649 | render_top_border(output, damage, child, colors); |
650 | } | 650 | } |
651 | render_view(output, damage, child, colors); | 651 | render_view(output, damage, child, colors); |
@@ -815,7 +815,7 @@ static void render_floating_container(struct sway_output *soutput, | |||
815 | if (con->sway_view->border == B_NORMAL) { | 815 | if (con->sway_view->border == B_NORMAL) { |
816 | render_titlebar(soutput, damage, con, con->x, con->y, con->width, | 816 | render_titlebar(soutput, damage, con, con->x, con->y, con->width, |
817 | colors, title_texture, marks_texture); | 817 | colors, title_texture, marks_texture); |
818 | } else { | 818 | } else if (con->sway_view->border != B_NONE) { |
819 | render_top_border(soutput, damage, con, colors); | 819 | render_top_border(soutput, damage, con, colors); |
820 | } | 820 | } |
821 | render_view(soutput, damage, con, colors); | 821 | render_view(soutput, damage, con, colors); |