X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/430e70670c3f0a38c1c300273784096aeb8728cd..9adaa9fa3290cc1f522bd85ba878de39c5fbde2a:/layout/cascade.lua?ds=inline 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.