awful.tag: fix viewidx()

Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Gregor Best 2009-08-25 13:59:34 +02:00 committed by Julien Danjou
parent 8ec1f4f49c
commit df07681109
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ end
-- @param i The relative index to see.
-- @param screen Optional screen number.
function viewidx(i, screen)
local screen = scree or capi.mouse.screen
local screen = screen and screen.index or capi.mouse.screen
local tags = capi.screen[screen]:tags()
local showntags = {}
for k, t in ipairs(tags) do