1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-05-04 15:06:12 +02:00
Nathan Schulte 2021-09-15 02:18:59 -05:00 committed by Simon Ser
parent 9727db67cf
commit 8d0a84f3c7

View File

@ -307,7 +307,7 @@ static uint32_t render_status_block(struct render_context *ctx,
render_text(cairo, config->font, 1, block->markup, "%s", text);
x_pos += width;
if (block->border && block->border_right > 0) {
if (border_color && block->border_right > 0) {
x_pos += margin;
render_sharp_line(cairo, border_color, x_pos, y_pos,
block->border_right, render_height);