awful.tag: setmwfact() gets optional screen param
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ee475580ef
commit
33c7083617
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue