awful.tag: setmwfact() gets optional screen param

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-17 15:11:45 +01:00
parent ee475580ef
commit 33c7083617
1 changed files with 3 additions and 2 deletions

View File

@ -98,8 +98,9 @@ end
--- Set master width factor. --- Set master width factor.
-- @param mwfact Master width factor. -- @param mwfact Master width factor.
function setmwfact(mwfact) -- @param screen Optional screen number.
local t = selected() function setmwfact(mwfact, screen)
local t = selected(screen)
if t then if t then
t.mwfact = mwfact t.mwfact = mwfact
end end