Merge pull request #2977 from Aire-One/fix_awfulkeygrabber_callback_doc

Fix missing `self` parameter in `awful.keygrabber` documentation usage examples.
This commit is contained in:
mergify[bot] 2020-01-28 17:18:00 +00:00 committed by GitHub
commit b350ffcb9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -615,13 +615,13 @@ end
-- @tparam table mod The current modifiers (like "Control" or "Shift").
-- @tparam string key The key name.
-- @tparam string event The event ("press" or "release").
-- @usage local function my_keypressed_cb(mod, key, command)
-- @usage local function my_keypressed_cb(self, mod, key, command)
-- -- do something
-- end
--- The callback function to call with mod table, key and command as arguments
-- when a key was released.
-- @usage local function my_keyreleased_cb(mod, key, command)
-- @usage local function my_keyreleased_cb(self, mod, key, command)
-- -- do something
-- end
-- @callback keyreleased_callback