]> git.mdlowis.com Git - proto/labwc.git/commit
regions: perform rounding more carefully
authorJohn Lindgren <john@jlindgren.net>
Sat, 21 Oct 2023 18:02:21 +0000 (14:02 -0400)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 21 Oct 2023 18:49:04 +0000 (20:49 +0200)
commit921c30c1fa5936a62f62df71df660beea8c985e5
tree5b15efbdfb5d652099c31618bf02be17e9e6f976
parent47e80a488e6db7bcf2ed1275c969774f76711ec2
regions: perform rounding more carefully

Add percentages (x + width, y + height) before scaling so that there is
no gap between regions due to rounding variations
src/regions.c