color-manager: Call update_all_gamma from on_monitors_changed
This ensures that an up-to-date gamma LUT is applied for newly-enabled monitors. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2480 Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2546 Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3439 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3742>
This commit is contained in:
parent
9ed00280f7
commit
09a6ff6eb7
@ -270,6 +270,7 @@ on_monitors_changed (MetaMonitorManager *monitor_manager,
|
|||||||
MetaColorManager *color_manager)
|
MetaColorManager *color_manager)
|
||||||
{
|
{
|
||||||
update_devices (color_manager);
|
update_devices (color_manager);
|
||||||
|
update_all_gamma (color_manager);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user