elementary / switchboard-plug-display

Switchboard Displays Plug
https://elementary.io
GNU General Public License v3.0
14 stars 18 forks source link

Use correct fractional scaling values #398

Closed leolost2605 closed 1 week ago

leolost2605 commented 1 week ago

Mutter provides us with supported fractional scaling values for a monitor. We should use those instead of hard coding some values. That's because good values can differ from the rounded percentage (e.g. 1.4935... instead of 1.5) or sometimes applying can fail because the value isn't support (e.g. 0.75 most (all?) of the time).