From 44dbb24570496db93dfadc1e80f15c70186b00c0 Mon Sep 17 00:00:00 2001 From: SammysHP Date: Wed, 14 Jun 2017 11:30:58 +0200 Subject: [PATCH] Fix documentation of activation filter Previously the `force` hint was described incorrectly. --- lib/awful/ewmh.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/awful/ewmh.lua b/lib/awful/ewmh.lua index 45002c4b..50631506 100644 --- a/lib/awful/ewmh.lua +++ b/lib/awful/ewmh.lua @@ -120,12 +120,12 @@ end -- * **context** (*string*) The activation context. -- * **hints** (*table*) Some additional hints (depending on the context) -- --- If the callback returns `true`, the client will be activated unless the `force` --- hint is set. If the callback returns `false`, the activation request is --- cancelled. If the callback returns `nil`, the previous callback will be --- executed. This will continue until either a callback handles the request or --- when it runs out of callbacks. In that case, the request will be granted if --- the client is visible. +-- If the callback returns `true`, the client will be activated. If the callback +-- returns `false`, the activation request is cancelled unless the `force` hint is +-- set. If the callback returns `nil`, the previous callback will be executed. +-- This will continue until either a callback handles the request or when it runs +-- out of callbacks. In that case, the request will be granted if the client is +-- visible. -- -- For example, to block Firefox from stealing the focus, use: --