From 9bfc4b0017e3f3e9fc0363e7dba95d0478dd8499 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Fri, 4 Sep 2009 14:39:53 +0200 Subject: [PATCH] titlebar: fix title and appicon position in the layout Signed-off-by: Cedric GESTES Signed-off-by: Julien Danjou --- lib/awful/titlebar.lua.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index 0a6f289ac..674c84365 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