Jonas Ådahl c0dc66e8c0 monitor/normal: Prefer modes with same flags as preferred mode
When generating MetaMonitorMode's, prefer CRTC modes that has the same
set of flags as the preferred mode. This not only is probably a better
set of configurable modes, but it'll guarantee that the preferred mode
is added.

This fixes a crash when the preferred mode was not the first mode with
the same resolution, refresh rate and set of handled modes.

https://bugzilla.gnome.org/show_bug.cgi?id=789153
2017-10-19 10:54:27 +08:00
2015-07-06 00:52:18 -07:00
2017-10-03 15:55:11 -03:00
2017-05-11 13:45:44 +02:00
2016-04-27 20:37:47 +02:00
2017-10-04 01:11:31 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%