Awesome2's client zoom in Awesome3

Awesome2's client_zoom would replace the current master with the client that had focus and back again.

I think this is missing in Awesome3, so I implemented it in lua:

keybinding({ modkey }, "Return",    function          if  client.focus == awful.client.master then            awful.client.focus.history.previous        end        client.focus:swap(awful.client.master)     end):add

Enjoy.

--Cciulla 12:41, 11 September 2008 (UTC)