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
|
end
|
||||||
else
|
else
|
||||||
_M[name].register = function (f)
|
_M[name].register = function (f)
|
||||||
|
util.deprecate("signals")
|
||||||
if not _M[name].callbacks then
|
if not _M[name].callbacks then
|
||||||
_M[name].callbacks = {}
|
_M[name].callbacks = {}
|
||||||
hook(function (...)
|
hook(function (...)
|
||||||
|
|
Loading…
Reference in New Issue