magnifier: fix then no tiled client
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
133b09ccb5
commit
35ff4203d8
|
@ -34,15 +34,15 @@ function arrange(p)
|
|||
fidx = 1
|
||||
end
|
||||
|
||||
-- Abort if no clients are present
|
||||
if not focus then return end
|
||||
|
||||
-- If focused window is not tiled, take the first one which is tiled.
|
||||
if client.floating.get(focus) then
|
||||
focus = cls[1]
|
||||
fidx = 1
|
||||
end
|
||||
|
||||
-- Abort if no clients are present
|
||||
if not focus then return end
|
||||
|
||||
local geometry = {}
|
||||
if #cls > 1 then
|
||||
geometry.width = area.width * math.sqrt(mwfact)
|
||||
|
|
Loading…
Reference in New Issue