From 19fe233982799eda87f2e792507bd2d75827a2fa Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 10 Oct 2016 20:50:24 +0200 Subject: [PATCH] Corner layout: Fix deprecation warning Signed-off-by: Uli Schlachter --- lib/awful/layout/suit/corner.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/awful/layout/suit/corner.lua b/lib/awful/layout/suit/corner.lua index ea1a86036..14ce8cde2 100644 --- a/lib/awful/layout/suit/corner.lua +++ b/lib/awful/layout/suit/corner.lua @@ -12,7 +12,6 @@ local ipairs = ipairs local math = math local capi = {screen = screen} -local tag = require("awful.tag") --- The cornernw layout layoutbox icon. -- @beautiful beautiful.layout_cornernw @@ -121,7 +120,7 @@ local function do_corner(p, orientation) master.height = wa.height end if #cls < 2 then - if tag.getmfpol(t) == "expand" then + if t.master_fill_policy == "expand" then master = wa else master.x = master.x + (wa.width - master.width)/2