Merge pull request #1847 from SammysHP/doc-fix
Fix documentation of activation filter
This commit is contained in:
commit
0d72b6a0a3
|
@ -120,12 +120,12 @@ end
|
||||||
-- * **context** (*string*) The activation context.
|
-- * **context** (*string*) The activation context.
|
||||||
-- * **hints** (*table*) Some additional hints (depending on the context)
|
-- * **hints** (*table*) Some additional hints (depending on the context)
|
||||||
--
|
--
|
||||||
-- If the callback returns `true`, the client will be activated unless the `force`
|
-- If the callback returns `true`, the client will be activated. If the callback
|
||||||
-- hint is set. If the callback returns `false`, the activation request is
|
-- returns `false`, the activation request is cancelled unless the `force` hint is
|
||||||
-- cancelled. If the callback returns `nil`, the previous callback will be
|
-- set. If the callback returns `nil`, the previous callback will be executed.
|
||||||
-- executed. This will continue until either a callback handles the request or
|
-- This will continue until either a callback handles the request or when it runs
|
||||||
-- when it runs out of callbacks. In that case, the request will be granted if
|
-- out of callbacks. In that case, the request will be granted if the client is
|
||||||
-- the client is visible.
|
-- visible.
|
||||||
--
|
--
|
||||||
-- For example, to block Firefox from stealing the focus, use:
|
-- For example, to block Firefox from stealing the focus, use:
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue