mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue