aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swaybar/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index 8f38174f..8816abef 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -208,7 +208,7 @@ static uint32_t render_status_block(cairo_t *cairo,
output->height < _ideal_surface_height) {
return _ideal_surface_height;
}
- if (sep_width > sep_block_width) {
+ if (block->separator && sep_width > sep_block_width) {
sep_block_width = sep_width + margin * 2;
}
}