Merge pull request #1698 from psychon/ewmh-doc-fix

awful.ewmh.add_activate_filter: Fix doc example
This commit is contained in:
Emmanuel Lepage Vallée 2017-04-02 21:43:07 -04:00 committed by GitHub
commit 9508666484
1 changed files with 2 additions and 2 deletions

View File

@ -128,9 +128,9 @@ end
--
-- For example, to block Firefox from stealing the focus, use:
--
-- awful.ewmh.add_activate_filter(function(c, "ewmh")
-- awful.ewmh.add_activate_filter(function(c)
-- if c.class == "Firefox" then return false end
-- end)
-- end, "ewmh")
--
-- @tparam function f The callback
-- @tparam[opt] string context The `request::activate` context