mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
swaybar: properly draw urgent block right border
introduced via #3287 -- https://github.com/swaywm/sway/pull/3287/files#diff-a1e918ce0bc71f4f7934767541319e724a51a34a5418ecdc286065e50921eda4L239 uncovered via #3394 -- https://github.com/swaywm/sway/pull/3394/files#diff-a1e918ce0bc71f4f7934767541319e724a51a34a5418ecdc286065e50921eda4R258
This commit is contained in:
parent
9727db67cf
commit
8d0a84f3c7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user