doc: params for request::activate

This commit is contained in:
Daniel Hahler 2015-07-29 04:12:49 +02:00
parent e7663e1ebd
commit 2932322775
2 changed files with 8 additions and 1 deletions

View File

@ -157,6 +157,8 @@ end
-- --
-- This sets the focus only if the client is visible. -- This sets the focus only if the client is visible.
-- --
-- It is the default signal handler for `request::activate` on a `client`.
--
-- @client c A client to use -- @client c A client to use
-- @tparam string context The context where this signal was used. -- @tparam string context The context where this signal was used.
-- @tparam[opt] table hints A table with additional hints: -- @tparam[opt] table hints A table with additional hints:

View File

@ -2924,8 +2924,13 @@ client_class_setup(lua_State *L)
* @signal property::y * @signal property::y
*/ */
signal_add(&client_class.signals, "property::y"); signal_add(&client_class.signals, "property::y");
/** /** When a client should get activated (focused and/or raised).
*
* Default implementation: `awful.ewmh.activate`.
* @signal request::activate * @signal request::activate
* @tparam string context The context where this signal was used.
* @tparam[opt] table hints A table with additional hints:
* @tparam[opt=false] boolean hints.raise should the client be raised?
*/ */
signal_add(&client_class.signals, "request::activate"); signal_add(&client_class.signals, "request::activate");
/** /**