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

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