Fix minimized clients not showing in tasklist
This commit is contained in:
parent
1343b81684
commit
d856782d66
|
@ -195,18 +195,18 @@ local tasklist_buttons = awful.util.table.join(
|
|||
|
||||
|
||||
local filter = function(c, _)
|
||||
local tags = c.screen.tags
|
||||
for _, t in ipairs(tags) do
|
||||
if t.selected then
|
||||
local ctags = c:tags()
|
||||
for _, v in ipairs(ctags) do
|
||||
if v == t and client.focus and c.screen == client.focus.screen then
|
||||
return true
|
||||
end
|
||||
local tags = c.screen.tags
|
||||
for _, t in ipairs(tags) do
|
||||
if t.selected then
|
||||
local ctags = c:tags()
|
||||
for _, v in ipairs(ctags) do
|
||||
if v == t and c.screen == client.focus.screen then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
end
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue