diff options
author | 2019-07-28 02:44:32 +0100 | |
---|---|---|
committer | 2019-07-27 23:36:16 -0400 | |
commit | cefc608cb942ce260dcbfc13079e29e684893bfa (patch) | |
tree | 4a7a04a1de16d3aedc60c1b9a97ff541d4a0a2b7 /swaybar | |
parent | Remove all wayland-server.h includes (diff) | |
download | sway-cefc608cb942ce260dcbfc13079e29e684893bfa.tar.gz sway-cefc608cb942ce260dcbfc13079e29e684893bfa.tar.zst sway-cefc608cb942ce260dcbfc13079e29e684893bfa.zip |
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 'swaybar')
0 files changed, 0 insertions, 0 deletions