mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00
41eea5a9429e48577fbd97ebf277431b6fee5c1c

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%