mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Merge pull request #2574 from ammgws/block-bg-fix
Fix swaybar block background fill logic
This commit is contained in:
commit
aa2bf98e04
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue