diff --git a/docs/common/rules_index.ldoc b/docs/common/rules_index.ldoc index 8f5e2f53..eeecdbda 100644 --- a/docs/common/rules_index.ldoc +++ b/docs/common/rules_index.ldoc @@ -69,4 +69,6 @@ -- startup\_idThe FreeDesktop StartId -- validIf the client that this object refers to is still managed by awesome -- first\_tagThe first tag of the client +-- buttonsGet or set mouse buttons bindings for a client +-- keysGet or set keys bindings for a client -- diff --git a/lib/awful/button.lua b/lib/awful/button.lua index 9f296012..af3ccbda 100644 --- a/lib/awful/button.lua +++ b/lib/awful/button.lua @@ -103,7 +103,7 @@ button.names = { -- @param function --- Execute this mousebinding. --- @function button:trigger +-- @method :trigger function button:set_button(b) for _, v in ipairs(self) do