aboutsummaryrefslogtreecommitdiff
path: root/sway/input/libinput.c
diff options
context:
space:
mode:
authorPedro CĂ´rte-Real <pedro@pedrocr.net>2019-07-28 02:44:32 +0100
committerBrian Ashworth <bosrsf04@gmail.com>2019-07-27 23:36:16 -0400
commitcefc608cb942ce260dcbfc13079e29e684893bfa (patch)
tree4a7a04a1de16d3aedc60c1b9a97ff541d4a0a2b7 /sway/input/libinput.c
parentf984f21b6a71bf8794de61f58b00d99ed3537c50 (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/input/libinput.c')
0 files changed, 0 insertions, 0 deletions