This is what I use. I found it on this mailing list. My opinion, it should
be included with the default awesome config.
awful.key( -- restore minimized windows
{modkey, "Shift"}, "n",
function ()
local allclients = client.get(mouse.screen)
for _,c in ipairs(allclients) do
if c.minimized and c:tags()[mouse.screen] ==
awful.tag.selected(mouse.screen) then
c.minimized = false
client.focus = c
c:raise()
return
end
end
end
),
--Mark
On Sat, Jan 8, 2011 at 4:31 PM, Uli Schlachter <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Am 08.01.2011 22:21, Sanjuro Makabe wrote:
> [...]
> > It seems to me that although the
> > minimized client is focused (as shown by the tasklist) every new modkey
> > + n press goes directly to another client.
>
> Uhm, you shouldn't be able to focus a minimized key. Having keyboard input
> go to
> a window that you don't see would be really awkward.
>
> What do you do to focus the minimized window?
>
> > My only way of getting around this is killing awesome and
> > all the minimized clients together... What is the intended way of
> > un-minimizing clients? What could be wrong? Hoping for some help...
>
> When you use the mouse to click on the tasklist entry of some client
> (=focusing
> that client), the client will be unminimized. Since there is no way to
> select a
> minimized client via the keyboard, it cannot be unminimized with any
> keybindings.
>
> > I'm using latest git master and my config is pretty default.
>
> git master? You must be crazy! ;)
>
> Cheers,
> Uli
>
> - --
> Q: Because it reverses the logical flow of conversation.
> A: Why is putting a reply at the top of the message frowned upon?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQEcBAEBCAAGBQJNKNeTAAoJECLkKOvLj8sGSXMIAII3Vxom2x4kG2WwmDmO2aZA
> dnVstO67y0aG4tnziH74l+EjwI8W3PW2UoTtDGUTEIcbaPq92qKkxIojkx7zz6T8
> tNQ+uk0/FpN9X02PLL8NLsKCz5PnctJxph50FVTFSM0nnPUUZ5erzssTefjrYIVv
> Tr01/eYps5wC9nX0PImHBYam//S28LZiPMWnN/B6MdfMfAy5aZm1A4Gdcp98A645
> +sZhiBGAZGuxOgLlkkqbGFPfnOF9j+AX4ERKBYgPsJ3Mmor1n5m0cbSJUscY1mRp
> fF4m+0vYLlR9XAdcFRsNajdZwmBtXJ8fB1zVRzkORMRCIQYKYjRooIwYfX3XsqA=
> =jj1z
> -----END PGP SIGNATURE-----
>
> --
> To unsubscribe, send mail to [email protected].
>