mirror of https://github.com/lcpz/lain.git
use awful.tag.gettags in order to keep compatibility with custom configs such as tyrannical
This commit is contained in:
parent
a20aed8209
commit
81b4ee282b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue