Tuomo Valkonen <[EMAIL PROTECTED]> writes: > On Mon, Mar 07, 2005 at 10:25:18AM +0100, Matthieu Moy wrote: >> Actually, it's not sufficient to remove the hacks I did in >> detach.lua: > > ionws_placement_alt has always been supposed to be used only for placing > stuff on the particular workspace. That's the primary reason it was changed > and is called in protected mode. For arbitrary placement policies, > clientwin_do_manage_alt should be used; it isn't called in protected mode, > as there shouldn't be anything it could mess up.
Just to be sure: This means the correct way to manage arbitrary placement policies is to use clientwin_do_manage_alt, doing 1) Compute the target region (say, "reg") for the client window (say, "cwin"). 2) Call reg:attach(cwin) ? -- Matthieu
