Fix minimized clients not showing in tasklist

This commit is contained in:
Thomas Avé 2023-09-03 14:51:42 +02:00
parent 1343b81684
commit d856782d66
1 changed files with 11 additions and 11 deletions

View File

@ -195,18 +195,18 @@ local tasklist_buttons = awful.util.table.join(
local filter = function(c, _) local filter = function(c, _)
local tags = c.screen.tags local tags = c.screen.tags
for _, t in ipairs(tags) do for _, t in ipairs(tags) do
if t.selected then if t.selected then
local ctags = c:tags() local ctags = c:tags()
for _, v in ipairs(ctags) do for _, v in ipairs(ctags) do
if v == t and client.focus and c.screen == client.focus.screen then if v == t and c.screen == client.focus.screen then
return true return true
end
end end
end end
end end
return false end
return false
end end