Re: attach_new problems

Tuomo Valkonen <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
On 2008-02-23, Alte <[email protected]> wrote:
>         local wg = tf:attach_new({type = "WGroupCW", switchto = t.switchto})
>         local opt = {type = "WTiling", name = c, dir = "horizontal",
...
>         local ws = wg:attach_new(opt)

You can not create empty WGroupCWs. (Consider loading a saved layout
without the old client windows (CQW) to be found. These types of 
groups have been tuned for groups as client window containers.) 
What you probably want is WGroupWS (groups tuned for workspace 
usage). Also, you're doing things the clumsy way by repeated
attach_new. You can simply include the second layout in the
first attach_new: managed = { opt }.

-- 
Tuomo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.