From 75a68eda59b3d748334c28c91a362948b3fd81e3 Mon Sep 17 00:00:00 2001 From: Moussab Date: Mon, 10 Nov 2014 23:52:00 +0100 Subject: [PATCH] Update centerfair.lua --- layout/centerfair.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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