mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 11:59:12 +00:00
Marco Trevisan (Treviño)
3e8d0204bd
monitor: Dynamically calculate supported scales per resolution
When using logical sized monitors we are allowed to use fractional scaling but only if the resulting scaled logical monitor size is in integer form. So, in order to get this, we allow to scale the monitor to up to 8 fractional values per integer, doing some computation in order to fetch the nearest values which are closer to the scaling factors we can permit. https://bugzilla.gnome.org/show_bug.cgi?id=765011
…
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%