On Tue, Mar 16, 2004 at 10:16:00PM +0100, Per Olofsson wrote: > Okay. Could you explain more exactly what it does? I think we're all a > little curious :)
Well, initially the screen would be empty as floatws is, so you can see the background etc. When a new window is created, it would be centred on the screen, and not stretched to full screen size (except perhaps if the window initially takes almost all screen space). It might even be allowed to move the window around after turning on some option, I have not decided yet. When a second window is created, we'd see if the first window can be moved enough in some direction (and possibly even shrinked a little depending on the user's preferences) to make space for the new window (also perhaps shrinked a little). If that is so, a new split would be created and the new window placed in that split, again not stretching it to full size unless perhaps if there's very little space left. If there is not enough space for a new spacious enough frame, the window would be attached to an existing one, the current by default unless it is very small. This would be repeated for additional newly created windows, only now going through all the splits and frames and looking for one splitting which would "least" affect or unblance the current layout by some (configurable/hookable) criterion. There are many courses of action to take when the last window in a frame is destroyed, many of which may have to be supported. -- Tuomo
