menubar: fix height to be rounded
Fixes https://github.com/awesomeWM/awesome/issues/414. Closes https://github.com/awesomeWM/awesome/pull/432.
This commit is contained in:
parent
769d6acb64
commit
a0f8948c71
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue