From 02b1a6b633ba1f5da5ca601bbcf04dee1aa1aee0 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Tue, 28 Jan 2020 10:57:43 +0100 Subject: [PATCH] Fix missing `self` parameter in documentation usage examples. --- 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 eca79fa1..08ccf032 100644 --- a/lib/awful/keygrabber.lua +++ b/lib/awful/keygrabber.lua @@ -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