diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index 0a6f289a..674c8436 100644 --- a/lib/awful/titlebar.lua.in +++ b/lib/awful/titlebar.lua.in @@ -143,12 +143,12 @@ end function update(c) if c.titlebar and data[c] then local widgets = c.titlebar.widgets - if widgets[2].title then - widgets[2].title.text = " ".. util.escape(c.name) .. " " end - if widgets[2].appicon then - widgets[2].appicon.image = c.icon + if widgets[3].appicon then + widgets[3].appicon.image = c.icon end if capi.client.focus == c then c.titlebar.fg = data[c].fg_focus