From d856782d6671246013fd0e832d520253793db622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sun, 3 Sep 2023 14:51:42 +0200 Subject: [PATCH] Fix minimized clients not showing in tasklist --- awesome/components/widgets/task-list.lua | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/awesome/components/widgets/task-list.lua b/awesome/components/widgets/task-list.lua index e636c2a..c3d895a 100644 --- a/awesome/components/widgets/task-list.lua +++ b/awesome/components/widgets/task-list.lua @@ -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