From: Moussab Date: Mon, 10 Nov 2014 22:52:00 +0000 (+0100) Subject: Update centerfair.lua X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/b73cb294e26db739f7d168f59c086c255807f667?ds=sidebyside;hp=60febfc4dd6018ec8ead920f173b404412316473 Update centerfair.lua --- diff --git a/layout/centerfair.lua b/layout/centerfair.lua index 383bf9e..67462f7 100644 --- a/layout/centerfair.lua +++ b/layout/centerfair.lua @@ -146,7 +146,7 @@ function centerfair.arrange(p) to_remove = 2 g.height = math.floor((wa.height - (num_y[i] * useless_gap)) / num_y[i]) g.y = offset_y + global_border - for j = 1, (num_y[i]-1) do + for j = 0, (num_y[i]-2) do cls[nclient]:geometry(g) nclient = nclient - 1 g.y = g.y + g.height+useless_gap + 2