mirror of https://github.com/lcpz/lain.git
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:
commit
3a118311d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue