kathenas / rpms / mutter

Forked from rpms/mutter 5 years ago
Clone

Blame SOURCES/0001-Revert-MetaMonitorManager-ignore-hotplug_mode_update.patch

7cc7ff
From d9d355bfd8ecfb7dcf65a3810ec30e12f12673ab Mon Sep 17 00:00:00 2001
7cc7ff
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
7cc7ff
Date: Mon, 24 Feb 2020 16:09:59 +0100
7cc7ff
Subject: [PATCH] Revert "MetaMonitorManager: ignore hotplug_mode_update at
7cc7ff
 startup"
7cc7ff
7cc7ff
This reverts commit 183f4b0c13f3dc9565bf5f693f2e5d61ca0199c9.
7cc7ff
---
7cc7ff
 src/backends/meta-monitor-manager.c | 3 +--
7cc7ff
 1 file changed, 1 insertion(+), 2 deletions(-)
7cc7ff
7cc7ff
diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c
7cc7ff
index 076dca8cb..0adf2100d 100644
7cc7ff
--- a/src/backends/meta-monitor-manager.c
7cc7ff
+++ b/src/backends/meta-monitor-manager.c
7cc7ff
@@ -527,8 +527,7 @@ meta_monitor_manager_has_hotplug_mode_update (MetaMonitorManager *manager)
7cc7ff
 static gboolean
7cc7ff
 should_use_stored_config (MetaMonitorManager *manager)
7cc7ff
 {
7cc7ff
-  return (manager->in_init ||
7cc7ff
-          !meta_monitor_manager_has_hotplug_mode_update (manager));
7cc7ff
+  return !meta_monitor_manager_has_hotplug_mode_update (manager);
7cc7ff
 }
7cc7ff
 
7cc7ff
 static gboolean
7cc7ff
-- 
7cc7ff
2.24.1
7cc7ff