diff --git a/lib/awful.lua.in b/lib/awful.lua.in index 4b239dd87..0851ff7fc 100644 --- a/lib/awful.lua.in +++ b/lib/awful.lua.in @@ -1226,9 +1226,9 @@ local function widget_tasklist_label_common(c, args) text = "" end if c.hidden then - name = escape(c.icon_name) + name = escape(c.icon_name) or "" else - name = escape(c.name) + name = escape(c.name) or "" end if capi.client.focus == c then text = text .. " "..name.." "