From 89b8edcc6faefb5d2788bb5fa6d91b92181a4cde Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Tue, 13 Sep 2022 20:03:42 +0200 Subject: [PATCH] monitor: Keep the dbus night-light-supported property in sync Fixes #2424 Part-of: --- src/backends/meta-monitor-manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c index a60518850..5c9a54029 100644 --- a/src/backends/meta-monitor-manager.c +++ b/src/backends/meta-monitor-manager.c @@ -1184,6 +1184,8 @@ update_night_light_supported (MetaMonitorManager *manager) priv->night_light_supported = night_light_supported; g_object_notify_by_pspec (G_OBJECT (manager), obj_props[PROP_NIGHT_LIGHT_SUPPORTED]); + meta_dbus_display_config_set_night_light_supported (manager->display_config, + night_light_supported); } void