From ae0bf17af2a2d98cb7411bcbef81e49db8ff5739 Mon Sep 17 00:00:00 2001 From: Gregor Best Date: Tue, 22 Sep 2009 16:23:00 +0200 Subject: [PATCH] awful.tag: fix screen in viewonly Signed-off-by: Gregor Best Signed-off-by: Julien Danjou --- lib/awful/tag.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in index 9e0ba6d89..308afbfec 100644 --- a/lib/awful/tag.lua.in +++ b/lib/awful/tag.lua.in @@ -252,7 +252,7 @@ end --- View only a tag. -- @param t The tag object. function viewonly(t) - local tags = capi.screen[screen or capi.mouse.screen]:tags() + local tags = capi.screen[t.screen or capi.mouse.screen]:tags() for _, tag in pairs(tags) do tag.selected = (t == tag) end