awful.client: call property hook on wfact change

Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Gregor Best 2009-07-14 20:15:18 +02:00 committed by Julien Danjou
parent 7a73227108
commit fb68558b2f
1 changed files with 4 additions and 0 deletions

View File

@ -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.