mutter/b81429ac.patch

27 lines
970 B
Diff
Raw Normal View History

From b81429ac386fc50493043878d62850792a56691f Mon Sep 17 00:00:00 2001
From: Sebastian Wick <sebastian.wick@redhat.com>
Date: Tue, 13 Sep 2022 20:03:42 +0200
Subject: [PATCH] meta-monitor: Keep the dbus night-light-supported property in
sync
---
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 a60518850d..5c9a540299 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
--
GitLab