awful.lua - use new tags.clients to enum clients in taglist.label.all
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
94dab79ff3
commit
36cf917890
|
@ -1053,13 +1053,12 @@ function widget.taglist.label.all(t, args)
|
|||
if sel and sel.tags[t] then
|
||||
background = "resize=\"true\" image=\"@AWESOME_ICON_PATH@/taglist/squarefw.png\""
|
||||
elseif bg_urgent and fg_urgent then
|
||||
for k, c in pairs(capi.client.get()) do
|
||||
if c.tags[t] then
|
||||
for k, c in pairs(t.clients) do
|
||||
background = "resize=\"true\" image=\"@AWESOME_ICON_PATH@/taglist/squarew.png\""
|
||||
if c.urgent then
|
||||
bg_color = bg_urgent
|
||||
fg_color = fg_urgent
|
||||
end
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue