On 2007-10-28 12:24 +0300, Alte wrote:
>     cw = fl:attach_new({type = "WGroupCW", switchto = t.switchto})
>     cw:attach(cwin, {switchto = t.switchto, bottom = true})

Umm... this shouldn't have any effect. Only when you've put a window
in a wrong kind of frame that allows applications to resize it -- as
is the case for floating frames -- could what you describe, happen.
An old layout savefile can cause such type bits to be set.

Also, above you can do:

    fl:attach_new({
        type = "WGroupCW",
        switchto=true,
        managed = { { reg=cwin, bottom = true }, },
    })

or something like that, to get away with a single call.

-- 
Tuomo

Reply via email to