monitor-manager: Apply HDR settings before updating the stage

This means we can make use of the HDR configuration of outputs to derive
stage rendering configuration.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3432>
This commit is contained in:
Jonas Ådahl 2023-11-09 13:20:34 +08:00 committed by Marge Bot
parent 3561f3c20e
commit 294739db15

View File

@ -3765,12 +3765,11 @@ meta_monitor_manager_rebuild (MetaMonitorManager *manager,
meta_monitor_manager_update_logical_state (manager, config);
meta_monitor_manager_notify_monitors_changed (manager);
ensure_privacy_screen_settings (manager);
ensure_hdr_settings (manager);
meta_monitor_manager_notify_monitors_changed (manager);
g_list_free_full (old_logical_monitors, g_object_unref);
}