mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
MetaMonitorManager: ignore hotplug_mode_update at startup
hotplug_mode_update is used (mostly by VMs nowadays, and VMware has implemented it) to inform that modes list (including the preferred one) might change after an uevent. However, when using MetaMonitorConfigManager we should ignore this value at initialization level, or mutter won't restore the configured values at startup. https://bugzilla.gnome.org/show_bug.cgi?id=783073
This commit is contained in:
@ -392,7 +392,8 @@ meta_monitor_manager_has_hotplug_mode_update (MetaMonitorManager *manager)
|
||||
static gboolean
|
||||
should_use_stored_config (MetaMonitorManager *manager)
|
||||
{
|
||||
return !meta_monitor_manager_has_hotplug_mode_update (manager);
|
||||
return (manager->in_init ||
|
||||
!meta_monitor_manager_has_hotplug_mode_update (manager));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user