mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
monitor-config-manager: Mark the mirroring logical monitor as primary
The resulting logical monitor was eventually marked as primary anyway, but without the config being marked as such, various primary properties was not set e.g. the one on the MetaOutput. Also, tests would fail. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2479>
This commit is contained in:
parent
5fb4a2c286
commit
8698b4a493
@ -1275,7 +1275,8 @@ create_for_switch_config_all_mirror (MetaMonitorConfigManager *config_manager)
|
||||
.height = height
|
||||
},
|
||||
.scale = best_scale,
|
||||
.monitor_configs = monitor_configs
|
||||
.monitor_configs = monitor_configs,
|
||||
.is_primary = TRUE,
|
||||
};
|
||||
|
||||
logical_monitor_configs = g_list_append (NULL, logical_monitor_config);
|
||||
|
Loading…
Reference in New Issue
Block a user