From 312355416ff49bbb36076b3bc168a3899adf6734 Mon Sep 17 00:00:00 2001 From: koniu Date: Mon, 24 Aug 2009 22:10:55 +0100 Subject: [PATCH] awful.autofocus: restore focus on hide/minimize Signed-off-by: koniu Signed-off-by: Julien Danjou --- lib/awful/autofocus.lua.in | 2 ++ 1 file changed, 2 insertions(+) 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