Check "focusable" in awful.client.focus.filter(c)

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-08-12 13:18:40 +02:00
parent 9d1ae71cbf
commit 0e798d0d76
1 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,8 @@ end
function focus.filter(c) function focus.filter(c)
if c.type == "desktop" if c.type == "desktop"
or c.type == "dock" or c.type == "dock"
or c.type == "splash" then or c.type == "splash"
or not c.focusable then
return nil return nil
end end
return c return c