> > > I believe he wants it to actually be conditional - as in, not set all
> > > clients to floating when created, but to make the client ontop IF it is
> > > floating.
> > a
> > exactly!
> 
> You have to use a custom function. Try this instead of
> awful.client.floating.toggle in your keybindings:
> 
> function (c)
>   awful.client.floating.toggle(c)
>   c.above = awful.client.floating.get(c)
> end

Another solution would be to add to 

    client.add_signal("manage", function (c, startup)
    ..
    end)

in rc.lua the following code:

    c.ontop = awful.client.floating.get(c)

    c:add_signal("property::floating", 
        function (c)
            c.ontop = awful.client.floating.get(c)
        end
    )

where the first line will set a client to ontop if it is floating when it is
started, while the second will keep the ontop property in sync with the
floating property if it changes.  I'm not sure if both of these are wanted.

Matt

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

Reply via email to