From 0cc24dd9c8b7329c91ae5ebd6ebd13b874eaab17 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Sat, 30 Jun 2018 12:45:49 +0100 Subject: [PATCH] Fix crash with stacking layout after f42bf0ad4 The "simple" rendering function only applies to tiled views. --- sway/desktop/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index e1c44a28..6244ca4a 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -645,7 +645,7 @@ static void render_container_simple(struct sway_output *output, if (child->sway_view->border == B_NORMAL) { render_titlebar(output, damage, child, child->x, child->y, child->width, colors, title_texture, marks_texture); - } else if (con->sway_view->border != B_NONE) { + } else { render_top_border(output, damage, child, colors); } render_view(output, damage, child, colors);