diff --git a/lib/wibox/container/margin.lua b/lib/wibox/container/margin.lua index 66ca3a45..5d37fb49 100644 --- a/lib/wibox/container/margin.lua +++ b/lib/wibox/container/margin.lua @@ -48,7 +48,7 @@ function margin:layout(_, width, height) local resulting_width = width - x - w local resulting_height = height - y - h - if resulting_width > 0 and resulting_height > 0 then + if resulting_width >= 0 and resulting_height >= 0 then return { base.place_widget_at(self._private.widget, x, y, resulting_width, resulting_height) } end end