mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue