awful.widget: update taglist on focus change

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-12-03 11:48:23 +01:00
parent 00149a0e90
commit ab2502c6c6
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ function taglist.new(scr, label, buttons)
end
end
end
hooks.focus.register(function (c) return taglist_update(c.screen) end)
hooks.unfocus.register(function (c) return taglist_update(c.screen) end)
hooks.arrange.register(taglist_update)
hooks.tags.register(taglist_update)
hooks.tagged.register(function (c, tag) taglist_update(c.screen) end)