display-config: Do not invert order when constructing modes
Mutter sends modes in descending order of preference. By reverting
the order via g_list_prepend
, we get unintended side effects
such as choosing the least preferred refresh rate by default (if
the selected mode is not marked as preferred).
Instead of adding complex logic in several places, make sure that the assumption of descending preference is kept by simply not inverting the order.
Closes #1562 (closed)
Best enjoyed together with mutter!2190 (merged)
Edited by Robert Mader