awesome/lib/awful/layout/suit
Fabienne Ducroquet 94a8c72596 layouts: spiral: Avoid gaps between windows
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>
2014-01-23 18:39:52 +01:00
..
fair.lua.in Fixed window gaps in the "fair" tiling mode. 2012-11-10 21:48:46 +01:00
floating.lua.in Ported awful.layout.suit to lua 5.2 2012-06-16 17:37:30 +02:00
init.lua.in Fix warnings from LDoc 2012-11-19 15:35:32 +01:00
magnifier.lua.in Ported awful.layout.suit to lua 5.2 2012-06-16 17:37:30 +02:00
max.lua.in Ported awful.layout.suit to lua 5.2 2012-06-16 17:37:30 +02:00
spiral.lua.in layouts: spiral: Avoid gaps between windows 2014-01-23 18:39:52 +01:00
tile.lua.in Incorrect calculation of unused size (FS#1108) 2013-02-11 16:10:48 +01:00