aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/render.c')
-rw-r--r--swaybar/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index 0d6bb354..06efb53c 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -265,7 +265,7 @@ static uint32_t render_status_block(cairo_t *cairo,
265 } 265 }
266 double text_y = height / 2.0 - text_height / 2.0; 266 double text_y = height / 2.0 - text_height / 2.0;
267 cairo_move_to(cairo, offset, (int)floor(text_y)); 267 cairo_move_to(cairo, offset, (int)floor(text_y));
268 uint32_t color = block->color ? *block->color : config->colors.statusline; 268 uint32_t color = block->color_set ? block->color : config->colors.statusline;
269 color = block->urgent ? config->colors.urgent_workspace.text : color; 269 color = block->urgent ? config->colors.urgent_workspace.text : color;
270 cairo_set_source_u32(cairo, color); 270 cairo_set_source_u32(cairo, color);
271 pango_printf(cairo, config->font, output->scale, 271 pango_printf(cairo, config->font, output->scale,