1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 04:33:59 +01:00

Fix crash with stacking layout after f42bf0ad4

The "simple" rendering function only applies to tiled views.
This commit is contained in:
Rostislav Pehlivanov 2018-06-30 12:45:49 +01:00
parent 09fdcfe7df
commit 0cc24dd9c8

@ -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);