On 2007-05-30, fantasai <[EMAIL PROTECTED]> wrote: > If in cfg_statusbar.lua I set fullsize=true, split at root stops working. > Tested in ion-3rc-20070506. > > A lesser problem is that a root split doesn't do anything when there's only > one frame.
The problem was that the code can't move the statusbar "out of the way", when the root node being operated contains the statusbar (the stdisp node) as immediate child. This is because the split tree "balancing" code only does simple "rotations" of the tree (cf. rotations in red-black trees), and does not change in it considerably. In consequence the statusbar always has the same parent node. I worked around this by operating on the non-stdisp child of the root node in this case. -- Tuomo
