awful.client: call property hook on each prop change
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ef2b18949c
commit
afbf72fc49
|
@ -567,7 +567,6 @@ function floating.set(c, s)
|
||||||
end
|
end
|
||||||
c.screen = screen
|
c.screen = screen
|
||||||
capi.hooks.arrange()(c.screen)
|
capi.hooks.arrange()(c.screen)
|
||||||
capi.hooks.property()(c, "floating")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -825,6 +824,7 @@ function property.set(c, prop, value)
|
||||||
data.properties[c] = {}
|
data.properties[c] = {}
|
||||||
end
|
end
|
||||||
data.properties[c][prop] = value
|
data.properties[c][prop] = value
|
||||||
|
hooks.user.call("property", c, prop)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Register standards hooks
|
-- Register standards hooks
|
||||||
|
|
Loading…
Reference in New Issue