awful.autofocus: Also react on "tagged" signal (FS#883)

Apparently some people start a timer, switch to an empty tag and then let the
timer move a client to that empty tag. This change makes sure that this new
client will get the input focus in this case.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2011-04-16 16:00:35 +02:00
parent d436b2845c
commit 14504de220
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ end
atag.attached_connect_signal(nil, "property::selected", check_focus_screen)
client.connect_signal("unmanage", check_focus)
client.connect_signal("tagged", check_focus)
client.connect_signal("untagged", check_focus)
client.connect_signal("property::hidden", check_focus)
client.connect_signal("property::minimized", check_focus)