On Fri, 9 Oct 2009 08:01:12 -0300
Renato Botelho <[email protected]> wrote:

> On Thu, Oct 8, 2009 at 8:43 PM, James Pearson <[email protected]> 
> wrote:
> > On Wed, Oct 7, 2009 at 10:29 AM, Renato Botelho <[email protected]> wrote:
> >>
> >> I would like to use a key to resize a window to ocupy all space but
> >> doesn't set it as float
> >
> > This confuses me a bit.  How are you supposed to have a window maximized,
> > without it being set to float?  If it wasn't floating, then it'd break the
> > rules of your layout, excepting the layout that puts all windows as max (I'm
> > not sure offhand what it's called).
> >
> > What is it exactly you're trying to do?  Why do you not want it to be
> > floating?
> 
> Let me try to explain, I run firefox on a tag set to use floating layout, so,
> firefox window is not set to float, but the tag is.
> 
> When i'm on floating layout tag, i would like to resize window to use all
> space but without set the window as float.
> 
> Did I clarify something? My english doesn't permit me to say what i'm
> thinking sometimes.

Doesn't that do what you want?

 awful.key({ modkey,}, "m",
        function (c)
            c.maximized_horizontal = not c.maximized_horizontal
            c.maximized_vertical   = not c.maximized_vertical
        end)

I think it came by default in my rc.lua, but I'm not sure right now.
This works with floating and tiled clients.

-- 
Thiago Varela

--
To unsubscribe, send mail to [email protected].

Reply via email to