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:
parent
7a73227108
commit
fb68558b2f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue