forked from external/yambar
bar: repair border drawing (was using wrong height)
Fix regression after porting from cairo to pixman. The bar border was drawn using the wrong height info.
This commit is contained in:
parent
bd70a4dc37
commit
274255f9ab
1 changed files with 3 additions and 3 deletions
|
@ -73,9 +73,9 @@ expose(const struct bar *_bar)
|
||||||
PIXMAN_OP_OVER, pix, &bar->border.color, 4,
|
PIXMAN_OP_OVER, pix, &bar->border.color, 4,
|
||||||
(pixman_rectangle16_t[]){
|
(pixman_rectangle16_t[]){
|
||||||
{0, 0, bar->width, bar->border.width},
|
{0, 0, bar->width, bar->border.width},
|
||||||
{0, 0, bar->border.width, bar->height},
|
{0, 0, bar->border.width, bar->height_with_border},
|
||||||
{bar->width - bar->border.width, 0, bar->border.width, bar->height},
|
{bar->width - bar->border.width, 0, bar->border.width, bar->height_with_border},
|
||||||
{0, bar->height - bar->border.width, bar->width, bar->border.width},
|
{0, bar->height_with_border - bar->border.width, bar->width, bar->border.width},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue