awful: also display selected tags in widget.taglist.label.noempty

This commit is contained in:
Lucas de Vries 2008-08-13 22:48:11 +02:00
parent 07b82b1825
commit 469a44f0db
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ end
-- fg_urgent The foreground color for urgent tags. -- fg_urgent The foreground color for urgent tags.
-- @return A string to print. -- @return A string to print.
function widget.taglist.label.noempty(t, args) function widget.taglist.label.noempty(t, args)
if #t:clients() > 0 then if #t:clients() > 0 or t.selected then
if not args then args = {} end if not args then args = {} end
local fg_focus = args.fg_focus or theme.fg_focus local fg_focus = args.fg_focus or theme.fg_focus
local bg_focus = args.bg_focus or theme.bg_focus local bg_focus = args.bg_focus or theme.bg_focus