Hi,

One remark about ion's way to manage user-defined placement methods.
In ion2, this was a callback that returned the region to attach the
new client window to.

In ion3, this is now a hook (thus, returning no value). I used to use
attach() in this hook, but it gets a bit more complicated to do with
the latest snapshot : Now, I have to write

   ioncore.defer(function () 
                    f:attach(cwin) 
                    cwin:goto()
                 end)

And the result is visually not good: the window appear an instant in
its default location, and then moves. It become even worse when the
window is moved to a WFloatWS, because being attached one instant to
another region will have changed its geometry. detach.lua now contains
ughly hacks about that, and is visually awfull.

Did I miss something ?

Thanks,

-- 
Matthieu

Reply via email to