From 66483beeee910807c6bd9340ac76fb1bdf3d6305 Mon Sep 17 00:00:00 2001 From: Aleksei Gusev Date: Wed, 25 Mar 2009 14:51:14 +0100 Subject: [PATCH] awful.widget.tasklist: include sticky windows in the list Signed-off-by: Julien Danjou --- lib/awful/widget/tasklist.lua.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/awful/widget/tasklist.lua.in b/lib/awful/widget/tasklist.lua.in index ea4b1d72..1551678c 100644 --- a/lib/awful/widget/tasklist.lua.in +++ b/lib/awful/widget/tasklist.lua.in @@ -166,6 +166,8 @@ end function label.currenttags(c, screen, args) -- Only print client on the same screen as this widget if c.screen ~= screen then return end + -- Include sticky client too + if c.sticky then return widget_tasklist_label_common(c, args) end for k, t in ipairs(capi.screen[screen]:tags()) do if t.selected then local ctags = c:tags()