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