From 274255f9ab57aef223e026de10b21325a3ed0580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 22 Sep 2019 12:38:30 +0200 Subject: [PATCH] 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. --- bar/bar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bar/bar.c b/bar/bar.c index 3cd793b..ec0e61b 100644 --- a/bar/bar.c +++ b/bar/bar.c @@ -73,9 +73,9 @@ expose(const struct bar *_bar) PIXMAN_OP_OVER, pix, &bar->border.color, 4, (pixman_rectangle16_t[]){ {0, 0, bar->width, bar->border.width}, - {0, 0, bar->border.width, bar->height}, - {bar->width - bar->border.width, 0, bar->border.width, bar->height}, - {0, bar->height - bar->border.width, bar->width, bar->border.width}, + {0, 0, bar->border.width, bar->height_with_border}, + {bar->width - bar->border.width, 0, bar->border.width, bar->height_with_border}, + {0, bar->height_with_border - bar->border.width, bar->width, bar->border.width}, }); }