Hmm, i did some more testing and this doesn't quite work as expected. I've seen this problem before, prior to signals and all that jazz but I did have it working right with the following hook (where restore_focus is a function like one in autofocus):
awful.hooks.property.register(function (c, prop) if type(c) == "client" and (prop == "minimized" or prop == "hide") then restore_focus(c.screen, c) end Right now, with the patch applied: 1. client.focus.hidden = true hides the client but doesn't restore focus 2. client.focus.minimized = true fails to minimized the client and but switches the focus to the previous in history I'm confused. k -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.