From a0f8948c719c9b81f458b9ace2b531b9bce7452e Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 29 Aug 2015 20:47:10 +0200 Subject: [PATCH] menubar: fix height to be rounded Fixes https://github.com/awesomeWM/awesome/issues/414. Closes https://github.com/awesomeWM/awesome/pull/432. --- lib/menubar/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/menubar/init.lua b/lib/menubar/init.lua index 968bf05e8..ff644fe05 100644 --- a/lib/menubar/init.lua +++ b/lib/menubar/init.lua @@ -302,7 +302,7 @@ function menubar.show(scr) local geometry = menubar.geometry instance.geometry = {x = geometry.x or scrgeom.x, y = geometry.y or scrgeom.y, - height = geometry.height or theme.get_font_height() * 1.5, + height = geometry.height or awful.util.round(theme.get_font_height() * 1.5), width = geometry.width or scrgeom.width} instance.wibox:geometry(instance.geometry)