From 941658735db1a580dc906cf34194e10a398df58c Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 16 Apr 2011 16:00:35 +0200 Subject: [PATCH] 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 --- lib/awful/autofocus.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/autofocus.lua.in b/lib/awful/autofocus.lua.in index c9607d36..d833a962 100644 --- a/lib/awful/autofocus.lua.in +++ b/lib/awful/autofocus.lua.in @@ -37,6 +37,7 @@ end atag.attached_add_signal(nil, "property::selected", check_focus_screen) client.add_signal("unmanage", check_focus) client.add_signal("new", function(c) + c:add_signal("tagged", check_focus) c:add_signal("untagged", check_focus) c:add_signal("property::hidden", check_focus) c:add_signal("property::minimized", check_focus) -- 2.11.4.GIT