mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
awful.client.toggletag: Use tag.getscreen()
Thanks to muni for reporting this bug. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
d13b825c36
commit
38c41a2f7a
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ end
|
|||
function client.toggletag(target, c)
|
||||
local sel = c or capi.client.focus
|
||||
-- Check that tag and client screen are identical
|
||||
if sel and sel.screen == target.screen then
|
||||
if sel and sel.screen == tag.getscreen(target) then
|
||||
local tags = sel:tags()
|
||||
local index = nil;
|
||||
for i, v in ipairs(tags) do
|
||||
|
|
Loading…
Reference in a new issue