Merge pull request #1698 from psychon/ewmh-doc-fix
awful.ewmh.add_activate_filter: Fix doc example
This commit is contained in:
commit
9508666484
|
@ -128,9 +128,9 @@ end
|
||||||
--
|
--
|
||||||
-- For example, to block Firefox from stealing the focus, use:
|
-- 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
|
-- if c.class == "Firefox" then return false end
|
||||||
-- end)
|
-- end, "ewmh")
|
||||||
--
|
--
|
||||||
-- @tparam function f The callback
|
-- @tparam function f The callback
|
||||||
-- @tparam[opt] string context The `request::activate` context
|
-- @tparam[opt] string context The `request::activate` context
|
||||||
|
|
Loading…
Reference in New Issue