From aca856b5d2eb95d1f708f34a2df42c491f332023 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 13 Jul 2015 21:13:58 +0200 Subject: [PATCH] keygrabber.grabber: rename function name This makes it clearer / more explicit in the traceback in case of errors. --- lib/awful/keygrabber.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/keygrabber.lua b/lib/awful/keygrabber.lua index 02b63d5b..1b08ca35 100644 --- a/lib/awful/keygrabber.lua +++ b/lib/awful/keygrabber.lua @@ -20,9 +20,9 @@ local keygrabbing = false local function grabber(mod, key, event) - for i, g in ipairs(grabbers) do + for i, keygrabber_function in ipairs(grabbers) do -- continue if the grabber explicitly returns false - if g(mod, key, event) ~= false then + if keygrabber_function(mod, key, event) ~= false then break end end