X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/430e70670c3f0a38c1c300273784096aeb8728cd..5af7a8c1726862f770b84e46cfa0eee064eac0fb:/layout/cascade.lua diff --git a/layout/cascade.lua b/layout/cascade.lua index 2397a1d..cc3f50f 100644 --- a/layout/cascade.lua +++ b/layout/cascade.lua @@ -15,7 +15,7 @@ local cascade = { name = "cascade", nmaster = 0, offset_x = 32, - offset_y = 8, + offset_y = 8, tile = { name = "cascadetile", nmaster = 0, @@ -35,7 +35,7 @@ local function do_cascade(p, tiling) if #cls <= 0 then return end -- Useless gaps. - local useless_gap = tag.gap or 0 + local useless_gap = p.useless_gap or 0 if not tiling then -- Cascade windows.