mirror of https://github.com/lcpz/lain.git
Now gaps between windows and screen borders and gaps vetween windows and windows are the same.
This commit is contained in:
parent
b9c5e5a2cf
commit
2e266a88d9
|
@ -80,8 +80,8 @@ local function tile_group(cls, wa, orientation, fact, group)
|
||||||
local i = c - group.first +1
|
local i = c - group.first +1
|
||||||
geom[width] = size - global_border - (bw * 2)
|
geom[width] = size - global_border - (bw * 2)
|
||||||
geom[height] = math.floor(unused * fact[i] / total_fact) - (bw * 2)
|
geom[height] = math.floor(unused * fact[i] / total_fact) - (bw * 2)
|
||||||
geom[x] = group.coord + global_border + (useless_gap / 2)
|
geom[x] = group.coord + global_border
|
||||||
geom[y] = coord + global_border + (useless_gap / 2)
|
geom[y] = coord + global_border
|
||||||
|
|
||||||
coord = coord + geom[height]
|
coord = coord + geom[height]
|
||||||
unused = unused - geom[height]
|
unused = unused - geom[height]
|
||||||
|
|
Loading…
Reference in New Issue