From 3ecb3babcb8385c1e8504984f19c6f229e3ba27d Mon Sep 17 00:00:00 2001 From: Gregor Best Date: Sat, 17 Jan 2009 18:55:03 +0100 Subject: [PATCH] awful.tag: make the screen argument works Signed-off-by: Julien Danjou --- lib/awful/tag.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in index 40b54817..e067abad 100644 --- a/lib/awful/tag.lua.in +++ b/lib/awful/tag.lua.in @@ -177,8 +177,8 @@ end -- @param screen Optional screen number. function viewidx(i, screen) local tags = capi.screen[screen or capi.mouse.screen]:tags() - local sel = selected() - viewnone() + local sel = selected(screen) + viewnone(screen) for k, t in ipairs(tags) do if t == sel then tags[util.cycle(#tags, k + i)].selected = true