diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-15 10:47:27 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-15 10:50:38 +0300 |
| commit | 66f23c39809eef827ef7f47fab7bdbf68dd69a26 (patch) | |
| tree | e8470d17649f6872be0173e248d16852af91282a /src/window | |
| parent | 7a6ab31ad762f1f911dafb9fc0ade83d19c66d45 (diff) | |
| download | niri-66f23c39809eef827ef7f47fab7bdbf68dd69a26.tar.gz niri-66f23c39809eef827ef7f47fab7bdbf68dd69a26.tar.bz2 niri-66f23c39809eef827ef7f47fab7bdbf68dd69a26.zip | |
layout: Implement weighted height distribution
The intention is to make columns add up to the working area height most
of the time, while still preserving the ability to have one fixed-height
window.
Automatic heights are now distributed according to their weight, rather
than evenly. This is similar to flex-grow in CSS or fraction in Typst.
Resizing one window in a column still makes that window fixed, however
it changes all other windows to automatic height, computing their
weights in such a way as to preserve their apparent heights.
Diffstat (limited to 'src/window')
0 files changed, 0 insertions, 0 deletions
