From 82766de14737919c4d1eb3b27333a6ef0b80e6d2 Mon Sep 17 00:00:00 2001 From: themarcq Date: Mon, 8 Dec 2014 16:32:44 +0100 Subject: [PATCH 1/1] Now gaps between windows and screen borders and gaps vetween windows and windows are the same. --- layout/uselesstile.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/uselesstile.lua b/layout/uselesstile.lua index eccfdad..65ce9b5 100644 --- a/layout/uselesstile.lua +++ b/layout/uselesstile.lua @@ -80,8 +80,8 @@ local function tile_group(cls, wa, orientation, fact, group) local i = c - group.first +1 geom[width] = size - global_border - (bw * 2) geom[height] = math.floor(unused * fact[i] / total_fact) - (bw * 2) - geom[x] = group.coord + global_border + (useless_gap / 2) - geom[y] = coord + global_border + (useless_gap / 2) + geom[x] = group.coord + global_border + geom[y] = coord + global_border coord = coord + geom[height] unused = unused - geom[height] -- 2.39.5