mirror of
https://github.com/brl/mutter.git
synced 2025-02-26 17:54:10 +00:00

When calculating sizes given some size and a fractional logical monitor scale with precision loss, round the result of the floating point calculation to the closest integer, as otherwise we might end up with result smaller by 1 if there was a loss of precision when calculating the scale. https://bugzilla.gnome.org/show_bug.cgi?id=765011
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%