Commit a04ba00b authored by Marco Trevisan's avatar Marco Trevisan 🎺

monitor-manager: Always update the layout mode from specific manager

Set the layout mode getting it the default from the current implementation of
the monitor manager instead of always set it to physical.

In fact even when deriving monitors we might get layout mode from the manager.
parent dc7798f6
......@@ -3046,7 +3046,7 @@ meta_monitor_manager_update_logical_state_derived (MetaMonitorManager *manager,
else
manager->current_switch_config = META_MONITOR_SWITCH_CONFIG_UNKNOWN;
manager->layout_mode = META_LOGICAL_MONITOR_LAYOUT_MODE_PHYSICAL;
manager->layout_mode = meta_monitor_manager_get_default_layout_mode (manager);
meta_monitor_manager_rebuild_logical_monitors_derived (manager, config);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment