awful.layout.suit.magnifier: use the right screen tag

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-01-19 14:38:17 +01:00
parent 7df3a36f3b
commit 3aa407b742

View file

@ -24,7 +24,7 @@ local function magnifier(_, screen)
local area = capi.screen[screen].workarea
local cls = client.tiled(screen)
local focus = capi.client.focus
local t = tag.selected()
local t = tag.selected(screen)
local mwfact = tag.getmwfact(t)
if not focus and #cls > 0 then