Fix this master fill policy stuff

awful.layout.suit.corner does awful.tag.getmfpol(t), but doesn't actually have a
variable t in scope. I just copied the needed stuff from the tile layout.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-02-07 15:21:13 +01:00
parent b4148f5dfa
commit 798be638d9
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ local tag = require("awful.tag")
-- @param orientation String indicating in which corner is the master window. -- @param orientation String indicating in which corner is the master window.
-- Available values are : NE, NW, SW, SE -- Available values are : NE, NW, SW, SE
local function do_corner(p, orientation) local function do_corner(p, orientation)
local t = p.tag or tag.selected(p.screen)
local wa = p.workarea local wa = p.workarea
local cls = p.clients local cls = p.clients