monitor-manager: Filter out low screen resolutions
authorAndrea Azzarone <azzaronea@gmail.com>
Mon, 16 Jul 2018 16:09:40 +0000 (18:09 +0200)
committerSimon McVittie <smcv@debian.org>
Tue, 31 Jul 2018 14:35:03 +0000 (15:35 +0100)
commitc38b590baae6661d2b63515dbc87ada489d3fc7f
treef4b3bf702f928ac0e494819f6c39504ef2453dc7
parentc619285b8d8fe31b69d7ae42766c8ed88f93c00c
monitor-manager: Filter out low screen resolutions

Avoid exporting through org.gnome.Mutter.DisplayConfig.GetCurrentState
excessively-low screen resolutions setting both a minimum width and a minimum
height. GetCurrentState is e.g. used by Gnome Control Center to build a list of
selectable resolutions.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=793223
(cherry picked from commit 649c26e05a67c52a4f5acf6b4aa3b1217e9bc9c0)

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1772831
Bug-GNOME: https://bugzilla.gnome.org/show_bug.cgi?id=793223
Applied-Upstream: 3.28.4, commit:https://gitlab.gnome.org/GNOME/mutter/commit/0c5e61a2a

Gbp-Pq: Name monitor-manager-Filter-out-low-screen-resolutions.patch
src/backends/meta-monitor-manager.c
src/backends/meta-monitor.c
src/backends/meta-monitor.h