From 6db7bdfcb960a154473416fff53e0f9b28488b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20=C3=85str=C3=B6m?= Date: Thu, 13 Dec 2012 03:30:37 +0100 Subject: [PATCH] Fix minimizedcurrenttags filter with sticky clients MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sticky clients showed up in the tasklist without being minimized when using the minimizedcurrenttags filter. This patch fixes that. Signed-off-by: Björn Åström Signed-off-by: Uli Schlachter --- lib/awful/widget/tasklist.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/widget/tasklist.lua.in b/lib/awful/widget/tasklist.lua.in index 32d67d49..91203fb8 100644 --- a/lib/awful/widget/tasklist.lua.in +++ b/lib/awful/widget/tasklist.lua.in @@ -188,10 +188,10 @@ end function tasklist.filter.minimizedcurrenttags(c, screen) -- Only print client on the same screen as this widget if c.screen ~= screen then return false end - -- Include sticky client - if c.sticky then return true end -- Check client is minimized if not c.minimized then return false end + -- Include sticky client + if c.sticky then return true end local tags = tag.gettags(screen) for k, t in ipairs(tags) do -- Select only minimized clients