awful.widget.tasklist: include sticky windows in the list

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Aleksei Gusev 2009-03-25 14:51:14 +01:00 committed by Julien Danjou
parent 209039b22b
commit 66483beeee
1 changed files with 2 additions and 0 deletions

View File

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