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:
parent
8ec1f4f49c
commit
df07681109
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue