mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
monitor: Keep the dbus night-light-supported property in sync
Fixes #2424 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2623>
This commit is contained in:
parent
6edb399b2b
commit
89b8edcc6f
@ -1184,6 +1184,8 @@ update_night_light_supported (MetaMonitorManager *manager)
|
|||||||
priv->night_light_supported = night_light_supported;
|
priv->night_light_supported = night_light_supported;
|
||||||
g_object_notify_by_pspec (G_OBJECT (manager),
|
g_object_notify_by_pspec (G_OBJECT (manager),
|
||||||
obj_props[PROP_NIGHT_LIGHT_SUPPORTED]);
|
obj_props[PROP_NIGHT_LIGHT_SUPPORTED]);
|
||||||
|
meta_dbus_display_config_set_night_light_supported (manager->display_config,
|
||||||
|
night_light_supported);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user