From fb68558b2fa0ed757f0af0ed70680618136e3031 Mon Sep 17 00:00:00 2001 From: Gregor Best Date: Tue, 14 Jul 2009 20:15:18 +0200 Subject: [PATCH] awful.client: call property hook on wfact change Signed-off-by: Gregor Best Signed-off-by: Julien Danjou --- lib/awful/client.lua.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index 87bc74bb..4f97f9ef 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -750,6 +750,8 @@ function setwfact(wfact, c) colfact[i] = (colfact[i] * rest) / total end end + + hooks.user.call("property", t, "windowfact") end --- Increment a client's window factor @@ -771,6 +773,8 @@ function incwfact(add, c) -- keep our ratios normalized normalize(colfact, w.num) + + hooks.user.call("property", t, "windowfact") end --- Get a client dockable state.