diff --git a/lib/awful/layout/suit/magnifier.lua.in b/lib/awful/layout/suit/magnifier.lua.in index ac48cc6aa..ee1847621 100644 --- a/lib/awful/layout/suit/magnifier.lua.in +++ b/lib/awful/layout/suit/magnifier.lua.in @@ -69,7 +69,7 @@ local function magnifier(_, screen) local fidx for k, c in ipairs(cls) do - if k == focus then + if c == focus then fidx = k break end