diff options
author | Pedro CĂ´rte-Real <pedro@pedrocr.net> | 2019-07-28 02:44:32 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-07-27 23:36:16 -0400 |
commit | cefc608cb942ce260dcbfc13079e29e684893bfa (patch) | |
tree | 4a7a04a1de16d3aedc60c1b9a97ff541d4a0a2b7 /sway/tree | |
parent | f984f21b6a71bf8794de61f58b00d99ed3537c50 (diff) |
Fix resize sibling amount calculations
Sibling amounts were being calculated after the original fraction had
been altered. This led to broken resize amounts. Fix that by calculating
things upfront before adjusting values which also makes the code
cleaner.
For sanity checks also calculate the sibling amount with the
ceiling so we never go below the sanity check even by one pixel.
Fixes #4386
Diffstat (limited to 'sway/tree')
0 files changed, 0 insertions, 0 deletions