diff --git a/lib/awful/rules.lua b/lib/awful/rules.lua index d3cf3a25..55e129a9 100644 --- a/lib/awful/rules.lua +++ b/lib/awful/rules.lua @@ -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