gnome-control-center/panels/display
Robert Mader 6a4652bd35 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 https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1562
2022-01-05 22:12:13 +00:00
..
icons night-light: Drop the sunrise/sunset indicator 2019-01-07 14:13:37 +00:00
cc-display-arrangement.c display: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-display-arrangement.h display: Allow config to be modified in arrangement widget 2019-01-29 12:05:43 +01:00
cc-display-config-dbus.c display-config: Do not invert order when constructing modes 2022-01-05 22:12:13 +00:00
cc-display-config-dbus.h display: Replace ifdefs with #pragma once 2018-05-29 21:53:28 +00:00
cc-display-config-manager-dbus.c display: Use g_auto for variables 2018-05-29 22:35:32 +00:00
cc-display-config-manager-dbus.h display: Replace ifdefs with #pragma once 2018-05-29 21:53:28 +00:00
cc-display-config-manager.c display: Introduce an abstract API for display configuration 2017-05-18 18:57:26 +02:00
cc-display-config-manager.h display: Replace ifdefs with #pragma once 2018-05-29 21:53:28 +00:00
cc-display-config.c display-config: Expose the supported scales as a reffed GArray 2021-06-15 17:30:36 +00:00
cc-display-config.h display-config: Expose the supported scales as a reffed GArray 2021-06-15 17:30:36 +00:00
cc-display-panel.c display: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-display-panel.h display: Replace ifdefs with #pragma once 2018-05-29 21:53:28 +00:00
cc-display-panel.ui display: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-display-settings.c display: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-display-settings.h display: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-display-settings.ui panels: Use .boxed-list instead of .content 2021-12-16 12:52:44 -08:00
cc-night-light-page.c display: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-night-light-page.h display: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-night-light-page.ui panels: Use .boxed-list instead of .content 2021-12-16 12:52:44 -08:00
display-arrangement.css display: Add new arrangement widget and hook it up 2018-05-28 20:57:20 -03:00
display.gresource.xml display: Make night light dialog a GtkBin 2019-06-16 01:01:36 +00:00
gnome-display-panel.desktop.in.in Add translator comments to .desktop files 2018-02-23 18:49:35 +01:00
meson.build display: Port to GTK4 2021-12-14 22:34:21 -03:00
night-light.css display: Port to GTK4 2021-12-14 22:34:21 -03:00
TODO display: convert display capplet to a settings panel 2010-06-07 17:05:02 +01:00