awful: use minimized rather than hidden in tasklist label

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-26 17:04:52 +02:00
parent 5709435392
commit d23c352fcc
1 changed files with 1 additions and 1 deletions

View File

@ -1433,7 +1433,7 @@ local function widget_tasklist_label_common(c, args)
if c.floating then
text = "<bg image=\"@AWESOME_ICON_PATH@/tasklist/floatingw.png\" align=\"right\"/>"
end
if c.hidden then
if c.minimized then
name = escape(c.icon_name) or ""
else
name = escape(c.name) or ""