[awesomerc] Disable sloppy focus for magnifier

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-27 22:18:19 +02:00
parent e317a70fea
commit 3b719fcb18
1 changed files with 4 additions and 2 deletions

View File

@ -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.