From 64bb0bea082e7a8aa4582c4b88f401308f6526f9 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 19 Feb 2011 21:42:39 +0100 Subject: [PATCH] tasklist: Update when a c.minimized changes This fixes a bug where the tasklist would still show its old content after a client was minimized/unminized because it didn't connect to the appropriate signal. This wasn't noticed before, because in most cases minimizing a client also unfocuses this client which causes a tasklist update. Signed-off-by: Uli Schlachter --- lib/awful/widget/tasklist.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/widget/tasklist.lua.in b/lib/awful/widget/tasklist.lua.in index 35e7432f..96541d70 100644 --- a/lib/awful/widget/tasklist.lua.in +++ b/lib/awful/widget/tasklist.lua.in @@ -65,6 +65,7 @@ function new(label, buttons) c:add_signal("property::floating", u) c:add_signal("property::maximized_horizontal", u) c:add_signal("property::maximized_vertical", u) + c:add_signal("property::minimized", u) c:add_signal("property::name", u) c:add_signal("property::icon_name", u) c:add_signal("property::icon", u)