-
Benjamin Berg authored
We were converting the floating point numbers to integers using a cast, which causes them to be always rounded down. The result is that a monitor may be too small by a pixel, creating broken configurations. Also fix the same issue when calculating whether a scale should be supported. See mutter#412 (cherry picked from commit 4db431d7)
2077e906