1 diff --git a/lib/awful/layout/suit/magnifier.lua.in b/lib/awful/layout/suit/magnifier.lua.in
2 index 2d4a526..74a2398 100644
3 --- a/lib/awful/layout/suit/magnifier.lua.in
4 +++ b/lib/awful/layout/suit/magnifier.lua.in
5 @@ -34,6 +34,11 @@ function arrange(p)
9 + -- If focused window is floating, value of focus will change. We want to
10 + -- save original value of focus and raise() it after seting geometry of
12 + local originalfocus = focus
14 -- If focused window is not tiled, take the first one which is tiled.
15 if client.floating.get(focus) then
17 @@ -56,7 +61,6 @@ function arrange(p)
18 geometry.height = area.height
20 focus:geometry(geometry)
25 @@ -87,6 +91,11 @@ function arrange(p)
26 geometry.y = geometry.y + geometry.height
30 + -- Raise primary tiled window and then the originally focused window. If
31 + -- there was no floating window it is the same window.
33 + originalfocus:raise()