monitor-manager: Add NightLightSupported property to DisplayConfig

This checks whether it's possible to set a CRTC GAMMA_LUT, which is what
is necessary to implement night light.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2310>
This commit is contained in:
Jonas Ådahl
2022-02-24 12:32:27 +01:00
committed by Marge Bot
parent f64259ceae
commit 8fdb80a718
4 changed files with 100 additions and 21 deletions

View File

@@ -297,6 +297,13 @@
-->
<property name="ApplyMonitorsConfigAllowed" type="b" access="read" />
<!--
NightLightSupported:
Whether night light is supported by this system.
-->
<property name="NightLightSupported" type="b" access="read" />
<!--
MonitorsChanged: