[awesomerc] Disable sloppy focus for magnifier
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
e317a70fea
commit
3b719fcb18
|
@ -181,8 +181,10 @@ end
|
||||||
|
|
||||||
-- Hook function to exeucte when the mouse is over a client.
|
-- Hook function to exeucte when the mouse is over a client.
|
||||||
function hook_mouseover(c)
|
function hook_mouseover(c)
|
||||||
-- Sloppy focus
|
-- Sloppy focus, but disabled for magnifier layout
|
||||||
c:focus_set()
|
if awful.layout.get(c:screen_get()) ~= "magnifier" then
|
||||||
|
c:focus_set()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Hook function to execute when a new client appears.
|
-- Hook function to execute when a new client appears.
|
||||||
|
|
Loading…
Reference in New Issue