Marco Trevisan (Treviño) 1ac63fcd77 monitor-manager-xrandr: Use monitor to calculate scaling
In Xrandr we were caching the available scaling modes that were computed just
for the current mode, for each monitor, while we can actually reuse the
default implementation, by just passing the proper scaling constraint.

In monitor we need then to properly filter these values, by only accepting
integer scaling factors that would allow to have a minimal logical monitor
size.

Fixes https://gitlab.gnome.org/GNOME/mutter/issues/407

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/336>
2021-07-22 15:38:02 +02:00
..
2018-11-06 17:17:36 +01:00
2014-09-12 11:55:08 -06:00
2021-02-22 13:52:27 +01:00
2019-10-21 14:04:30 +00:00
2021-07-07 21:03:26 +02:00
2021-07-07 21:03:26 +02:00
2019-01-22 18:31:53 +01:00
2019-01-22 18:31:53 +01:00
2021-03-12 15:09:45 +00:00
2021-02-22 13:52:27 +01:00