From f890aa392c1b3ebee0221f477962e48c8a791574 Mon Sep 17 00:00:00 2001 From: Gregor Best Date: Sat, 29 May 2010 00:31:52 +0200 Subject: [PATCH] layouts/tile: completely fix client borders Signed-off-by: Gregor Best Signed-off-by: Julien Danjou --- lib/awful/layout/suit/tile.lua.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/awful/layout/suit/tile.lua.in b/lib/awful/layout/suit/tile.lua.in index 12625ae7..ecf41e3f 100644 --- a/lib/awful/layout/suit/tile.lua.in +++ b/lib/awful/layout/suit/tile.lua.in @@ -63,10 +63,10 @@ local function tile_group(cls, wa, orientation, fact, group) geom[x] = group.coord geom[y] = coord geom = cls[c]:geometry(geom) - coord = coord + geom[height] - unused = unused - geom[height] + coord = coord + geom[height] + cls[c].border_width * 2 + unused = unused - geom[height] - cls[c].border_width * 2 total_fact = total_fact - fact[i] - used_size = math.max(used_size, geom[width]) + used_size = math.max(used_size, geom[width]) + cls[c].border_width * 2 end return used_size