X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/308b7b12020a59b5d0269772028c25a826ac10c0..63066fba60b919f51c0e66ac27a31201a166ef31:/layout/termfair.lua?ds=sidebyside diff --git a/layout/termfair.lua b/layout/termfair.lua index 6bb3e40..6aca99d 100644 --- a/layout/termfair.lua +++ b/layout/termfair.lua @@ -113,6 +113,8 @@ function termfair.arrange(p) g.y = g.y + (this_y + 1)*useless_gap end + if g.width < 1 then g.width = 1 end + if g.height < 1 then g.height = 1 end c:geometry(g) remaining_clients = remaining_clients - 1