X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/229d0d3860126bfbf190c54d8edad18174fe017a..7d60073c29c91354038e0c0307ce4bf3537d84a1:/layout/uselesstile.lua 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]