Merge pull request #30 from kamou/use_awful_tag_gettags_instead_of_tags

util.tag_view_nonempty: use awful.tag.gettags instead of tags
This commit is contained in:
Luke Bonham 2014-02-18 19:33:36 +01:00
commit 3a118311d7
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 s = sc or mouse.screen or 1
local scr = screen[s] local scr = screen[s]
for i = 1, #tags[s] do for i = 1, #awful.tag.gettags(s) do
awful.tag.viewidx(direction,s) awful.tag.viewidx(direction,s)
if #awful.client.visible(s) > 0 then if #awful.client.visible(s) > 0 then
return return