diff options
author | 2019-07-28 11:29:48 +0100 | |
---|---|---|
committer | 2020-01-08 10:27:20 -0500 | |
commit | 9ad22109bb9d819ddcb19718cbe7a95c1764a8d9 (patch) | |
tree | 9b7de0abdf1414d5910fe24f31aed4b1aabc5cea /sway/security.c | |
parent | Avoid numerical instability in resize (diff) | |
download | sway-9ad22109bb9d819ddcb19718cbe7a95c1764a8d9.tar.gz sway-9ad22109bb9d819ddcb19718cbe7a95c1764a8d9.tar.zst sway-9ad22109bb9d819ddcb19718cbe7a95c1764a8d9.zip |
Make sure we don't calculate fractional pixel gaps
When gaps are resized for lack of space the calculation could result in
a gap size of non-integer pixels. This would result in containers
located at non-integer pixels which would be subtly broken.
Diffstat (limited to 'sway/security.c')
0 files changed, 0 insertions, 0 deletions