keygrabber.grabber: rename function name

This makes it clearer / more explicit in the traceback in case of
errors.
This commit is contained in:
Daniel Hahler 2015-07-13 21:13:58 +02:00
parent d08e82d4c8
commit aca856b5d2
1 changed files with 2 additions and 2 deletions

View File

@ -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