[mutter] backends: Fix typo



commit dc5b2e396c315a8e5ea873b45839fb4c3e93a053
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Jun 16 19:17:44 2017 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c
index 7881dbf..96195b2 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]