awful.autofocus: restore focus on hide/minimize
Signed-off-by: koniu <gkusnierz@gmail.com> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
194f6b2050
commit
312355416f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue