diff --git a/lib/awful/autofocus.lua.in b/lib/awful/autofocus.lua.in index b7a04c85..923fabf3 100644 --- a/lib/awful/autofocus.lua.in +++ b/lib/awful/autofocus.lua.in @@ -26,6 +26,8 @@ atag.attached_add_signal(nil, "property::selected", check_focus) client.add_signal("unmanage", check_focus) client.add_signal("new", function(c) c:add_signal("untagged", check_focus) + c:add_signal("property::hidden", check_focus) + c:add_signal("property::minimized", check_focus) end) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80