diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in index 18e118eb..0aad55a9 100644 --- a/lib/awful/tag.lua.in +++ b/lib/awful/tag.lua.in @@ -98,8 +98,9 @@ end --- Set master width factor. -- @param mwfact Master width factor. -function setmwfact(mwfact) - local t = selected() +-- @param screen Optional screen number. +function setmwfact(mwfact, screen) + local t = selected(screen) if t then t.mwfact = mwfact end