use awful.tag.gettags in order to keep compatibility with custom configs such as tyrannical

This commit is contained in:
Ayman Khamouma 2014-02-18 13:42:16 +02:00
parent 232f1aa251
commit fd1ec3b943
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ function util.tag_view_nonempty(direction, sc)
local s = sc or mouse.screen or 1
local scr = screen[s]
for i = 1, #tags[s] do
for i = 1, #awful.tag.gettags(s) do
awful.tag.viewidx(direction,s)
if #awful.client.visible(s) > 0 then
return