awful.widget: handle clients without title on tasklist widget
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
829b30c8a6
commit
d2af75691e
|
@ -325,9 +325,9 @@ local function widget_tasklist_label_common(c, args)
|
|||
status_image = capi.image(floating_icon)
|
||||
end
|
||||
if c.minimized then
|
||||
name = util.escape(c.icon_name) or ""
|
||||
name = util.escape(c.icon_name) or util.escape("<untitled>")
|
||||
else
|
||||
name = util.escape(c.name) or ""
|
||||
name = util.escape(c.name) or util.escape("<untitled>")
|
||||
end
|
||||
if capi.client.focus == c then
|
||||
bg = bg_focus
|
||||
|
|
Loading…
Reference in New Issue