Laptop #2

Closed
thomasave wants to merge 119 commits from laptop into master
1 changed files with 11 additions and 11 deletions
Showing only changes of commit b3d6f0a60b - Show all commits

View File

@ -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