doc: Document the tag master_fill_policy

This commit is contained in:
Emmanuel Lepage Vallee 2016-12-19 20:49:04 -05:00
parent 66a9486992
commit 2b462cb2e3
2 changed files with 15 additions and 3 deletions

View file

@ -889,7 +889,13 @@ function tag.getgap(t, numclients)
return tag.object.get_gap(t or ascreen.focused().selected_tag)
end
--- The default fill policy
--- The default fill policy.
--
-- ** Possible values**:
--
-- * *expand*: Take all the space
-- * *master_width_factor*: Only take the ratio defined by the
-- `master_width_factor`
--
-- @beautiful beautiful.master_fill_policy
-- @param string (default: "expand")
@ -897,6 +903,12 @@ end
--- Set size fill policy for the master client(s).
--
-- ** Possible values**:
--
-- * *expand*: Take all the space
-- * *master_width_factor*: Only take the ratio defined by the
-- `master_width_factor`
--
-- **Signal:**
--
-- * *property::master_fill_policy*

View file

@ -76,8 +76,8 @@ local common_steps = {
return true
end,
function()
t.master_fill_policy = t.master_fill_policy == "mwfact" and
"expand" or "mwfact"
t.master_fill_policy = t.master_fill_policy == "master_width_factor" and
"expand" or "master_width_factor"
return true
end,