94a8c72596
When an area is split in two, for example horizontally, one of the windows should have height math.floor(previous height / 2) and the other math.ceil(previous height / 2), to be certain that no gaps are left between the windows. For instance, if the first window has height h and the second window has height math.floor(h / 2), the height of the third window should be math.ceil(h / 2) instead of the same as for the second window. So to compute the size of window n + 1 it’s necessary to remember the size of window n - 1 as well as that of window n. Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com> Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
fair.lua.in | ||
floating.lua.in | ||
init.lua.in | ||
magnifier.lua.in | ||
max.lua.in | ||
spiral.lua.in | ||
tile.lua.in |