keygrabber.grabber: rename function name
This makes it clearer / more explicit in the traceback in case of errors.
This commit is contained in:
parent
d08e82d4c8
commit
aca856b5d2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue