mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
![Jonas Ådahl](/assets/img/avatar_default.png)
Right now gamma is set only via the D-Bus API (from gsd-color), but the actual gamma isn't right after SetCrtcGamma(), meaning if one would call GetCrtcGamma() right after setting it, one would get the old result. Avoid this by getting the "current" CRTC gamma from the cache we manage. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2159>