diff options
author | Jason <ammgws@users.noreply.github.com> | 2018-09-05 18:48:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 18:48:31 +0900 |
commit | 13fbe5176b5e35cc7747c4d02d3e580ad52f1fc1 (patch) | |
tree | cbe0ba98a41f9e2c7a754cdd69f7527d44705a01 | |
parent | 309fcf23007a7c1b5c1c6da6b5ff7101312488cc (diff) |
Fix swaybar block background fill logic
Same as #2571 but for 1.0.
-rw-r--r-- | swaybar/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c index 6f370077..702e863c 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -187,7 +187,7 @@ static uint32_t render_status_block(cairo_t *cairo, if (block->background) { cairo_set_source_u32(cairo, block->background); cairo_rectangle(cairo, pos - 0.5 * output->scale, - output->scale, block_width, height); + output->scale, width, height); cairo_fill(cairo); } |