Skip to content
  • Marco Trevisan's avatar
    monitor-manager-xrandr: Use monitor to calculate scaling · f5dcca6b
    Marco Trevisan authored
    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 GNOME/mutter#407
    GNOME/mutter!336
    f5dcca6b