awful.rules: Remove dead code

Also change the focus callback signature to match the others
This commit is contained in:
Emmanuel Lepage Vallee 2016-04-20 00:02:38 -04:00
parent 2a8cc08ca1
commit a2a5448442
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ function rules.execute(c, props, callbacks)
if property ~= "focus" and type(value) == "function" then if property ~= "focus" and type(value) == "function" then
value = value(c) value = value(c, props)
end end
-- Some properties are handled elsewhere -- Some properties are handled elsewhere