diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-08-02 19:35:48 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-08-02 19:35:48 +0200 |
| commit | aada408530c55564a8a4e7381a2a9cb0b8390d96 (patch) | |
| tree | 631e94942d775e08e748210de328714151e922e1 | |
| parent | fdbc07c102bb4f0716fe512c6c2d4755453c94a4 (diff) | |
Remove unused variable
| -rw-r--r-- | swaybar/render.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/swaybar/render.c b/swaybar/render.c index e17c13a8..36df2d86 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -327,7 +327,6 @@ static void predict_status_block_pos(cairo_t *cairo, width = block->min_width; } - double block_width = width; uint32_t ideal_height = text_height + ws_vertical_padding * 2; uint32_t ideal_surface_height = ideal_height / output->scale; if (!output->bar->config->height && @@ -338,11 +337,9 @@ static void predict_status_block_pos(cairo_t *cairo, *x -= width; if ((block->border || block->urgent) && block->border_left > 0) { *x -= (block->border_left * output->scale + margin); - block_width += block->border_left * output->scale + margin; } if ((block->border || block->urgent) && block->border_right > 0) { *x -= (block->border_right * output->scale + margin); - block_width += block->border_right * output->scale + margin; } int sep_width, sep_height; |
