awful.hooks: deprecate
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
924b659e93
commit
8389b8c5d6
|
@ -127,6 +127,7 @@ for name, hook in pairs(capi.hooks) do
|
|||
end
|
||||
else
|
||||
_M[name].register = function (f)
|
||||
util.deprecate("signals")
|
||||
if not _M[name].callbacks then
|
||||
_M[name].callbacks = {}
|
||||
hook(function (...)
|
||||
|
|
Loading…
Reference in New Issue