bd6bab113b
It is linear config manager created when ensuring configuration. However, the switch config is not set as LINEAR, but left as UNKNOWN. This leads switch mode OSD always shows "Join Displays" icon, rather than the next icon which is "External Only" after connect an external display and press Super+P once at first time since mutter starts. This patch moves switch config setting into meta_monitor_config_manager_create_linear() (and the sibling functions) to well prepare the monitors config and avoid missing settings. This is a regression introduced by 149e4d69345a. Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1362