[mutter] monitor: Keep the dbus night-light-supported property in sync
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] monitor: Keep the dbus night-light-supported property in sync
- Date: Mon, 19 Sep 2022 15:42:31 +0000 (UTC)
commit 89b8edcc6faefb5d2788bb5fa6d91b92181a4cde
Author: Sebastian Wick <sebastian wick redhat com>
Date: Tue Sep 13 20:03:42 2022 +0200
monitor: Keep the dbus night-light-supported property in sync
Fixes #2424
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2623>
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]