From dc5b2e396c315a8e5ea873b45839fb4c3e93a053 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 16 Jun 2017 19:17:44 +0200 Subject: [PATCH] backends: Fix typo Instead of checking all MetaMonitors in the monitor manager, we want to look (as the function name says) in the MetaMonitors contained in the given logical monitor. Otherwise, it will return TRUE for every logical monitor, given we are querying for an existing EDID. https://bugzilla.gnome.org/show_bug.cgi?id=782032 --- src/backends/meta-input-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c index 7881dbffe..96195b2b6 100644 --- a/src/backends/meta-input-settings.c +++ b/src/backends/meta-input-settings.c @@ -732,7 +732,7 @@ logical_monitor_has_monitor (MetaMonitorManager *monitor_manager, GList *monitors; GList *l; - monitors = meta_monitor_manager_get_monitors (monitor_manager); + monitors = meta_logical_monitor_get_monitors (logical_monitor); for (l = monitors; l; l = l->next) { MetaMonitor *monitor = l->data;