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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2011-02-19 21:42:39 +01:00
parent f6907e1296
commit 64bb0bea08
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ function new(label, buttons)
c:add_signal("property::floating", u) c:add_signal("property::floating", u)
c:add_signal("property::maximized_horizontal", u) c:add_signal("property::maximized_horizontal", u)
c:add_signal("property::maximized_vertical", u) c:add_signal("property::maximized_vertical", u)
c:add_signal("property::minimized", u)
c:add_signal("property::name", u) c:add_signal("property::name", u)
c:add_signal("property::icon_name", u) c:add_signal("property::icon_name", u)
c:add_signal("property::icon", u) c:add_signal("property::icon", u)