From 650b3d6df59c8044f7211b07ffab312e1d1f2799 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 7 Oct 2010 13:52:32 +0200 Subject: [PATCH] Progressbar: Fix border Signed-off-by: Uli Schlachter --- lib/awful/widget/progressbar.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/widget/progressbar.lua.in b/lib/awful/widget/progressbar.lua.in index 330aa93e..b1bbbb79 100644 --- a/lib/awful/widget/progressbar.lua.in +++ b/lib/awful/widget/progressbar.lua.in @@ -87,7 +87,7 @@ function draw(pbar, wibox, cr, width, height) local border_width = 0 if data[pbar].border_color then -- Draw border - cr:rectangle(0.5, 0.5, width - 0.5, height - 0.5) + cr:rectangle(0.5, 0.5, width - 1, height - 1) cr:set_source(color(data[pbar].border_color)) cr:stroke()