awful.tag: fix screen in viewonly
Signed-off-by: Gregor Best <gbe@intepi.net> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7c5ba1fcef
commit
ae0bf17af2
|
@ -252,7 +252,7 @@ end
|
||||||
--- View only a tag.
|
--- View only a tag.
|
||||||
-- @param t The tag object.
|
-- @param t The tag object.
|
||||||
function viewonly(t)
|
function viewonly(t)
|
||||||
local tags = capi.screen[screen or capi.mouse.screen]:tags()
|
local tags = capi.screen[t.screen or capi.mouse.screen]:tags()
|
||||||
for _, tag in pairs(tags) do
|
for _, tag in pairs(tags) do
|
||||||
tag.selected = (t == tag)
|
tag.selected = (t == tag)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue