monitor-unit-tests: Check non-first preferred modes
authorJonas Ådahl <jadahl@gmail.com>
Wed, 18 Oct 2017 15:24:36 +0000 (23:24 +0800)
committerJeremy Bicha <jbicha@debian.org>
Sat, 21 Oct 2017 23:47:22 +0000 (00:47 +0100)
commiteb23c66919ead5e257d0b9921e4c33f97d1cc494
treec3e0e87fa7ab96297c0a5a098fdeac9aaeb2c8d8
parent986a198533386832090c2f1d83c10e884e6d49c9
monitor-unit-tests: Check non-first preferred modes

Check that if there are multiple modes with the same ID (resolution,
refresh rate and handled flags) we correctly add the preferred mode to
the list of monitor modes.

https://bugzilla.gnome.org/show_bug.cgi?id=789153

Gbp-Pq: Name 0016-monitor-unit-tests-Check-non-first-preferred-modes.patch
src/backends/meta-monitor.c
src/backends/meta-monitor.h
src/tests/monitor-unit-tests.c