From a2a5448442d2d862c9b99e7241e0a2309d523449 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Wed, 20 Apr 2016 00:02:38 -0400 Subject: [PATCH] awful.rules: Remove dead code Also change the focus callback signature to match the others --- lib/awful/rules.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/rules.lua b/lib/awful/rules.lua index d3cf3a256..55e129a97 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