From 33c708361770e8311967dd2d9e6b6611c9783e4c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 17 Nov 2008 15:11:45 +0100 Subject: [PATCH] awful.tag: setmwfact() gets optional screen param Signed-off-by: Julien Danjou --- lib/awful/tag.lua.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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