https://bugs.kde.org/show_bug.cgi?id=448688

--- Comment #4 from Michael <[email protected]> ---
Created attachment 196679
  --> https://bugs.kde.org/attachment.cgi?id=196679&action=edit
Prototype implementation

Updated proof of concept attached (previous attachment obsoleted).

Changes since the first version, after daily use:
- The window is now centered in the LARGEST free rectangle left after the
top-down walk, not the smallest one. The smallest maximal rectangles tend to be
thin strips, which put windows at the edge of the free space.
- Free slivers under 40 px are ignored.
- Optional: where the walk would stop, the window may shrink (to 60% at most)
to stay clear of one more window, preferring a rectangle where it keeps its
full size.

The core proposal is unchanged: walk the stack top to bottom, subtract each
window from the free space, stop at the last step where the new window still
fits.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to