Hey Renato,

2010/8/26 Renato Botelho <[email protected]>:
> I have this on my rc.lua:
>
>    -- unminimize windows
>    awful.key({ 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),

It doesn't seem to work if there are only minimized clients in the
tag, it needs at least one non-minimized client to work. Any idea why?

Thanks!
Vitor

Reply via email to