doc: Add a missing ewmh handler documentation

This commit is contained in:
Emmanuel Lepage Vallee 2016-12-09 23:55:13 -05:00
parent aed2268a18
commit 5aa38f6fe5
1 changed files with 4 additions and 0 deletions

View File

@ -210,6 +210,10 @@ function ewmh.tag(c, t, hints) --luacheck: no unused
end end
end end
--- Handle client urgent request
-- @signalhandler awful.ewmh.urgent
-- @client c A client
-- @tparam boolean urgent If the client should be urgent
function ewmh.urgent(c, urgent) function ewmh.urgent(c, urgent)
if c ~= client.focus and not aclient.property.get(c,"ignore_urgent") then if c ~= client.focus and not aclient.property.get(c,"ignore_urgent") then
c.urgent = urgent c.urgent = urgent