awful.rules: Remove dead code
Also change the focus callback signature to match the others
This commit is contained in:
parent
2a8cc08ca1
commit
a2a5448442
|
@ -273,7 +273,7 @@ function rules.execute(c, props, callbacks)
|
|||
|
||||
|
||||
if property ~= "focus" and type(value) == "function" then
|
||||
value = value(c)
|
||||
value = value(c, props)
|
||||
end
|
||||
|
||||
-- Some properties are handled elsewhere
|
||||
|
|
Loading…
Reference in New Issue