Skip to content

WiP: Add get_gamma to gamma-control

Simon Ser requested to merge github/fork/agx/gamma into master

Created by: agx

This adds get_gamma to get the current gamma lut to wlr_gamma_control. This is needed since some things like gnome-desktop (as used by gnome-settings-daemon) want to read out the gamme lut.

TODOs:

  • figure out what to do with gamma-control protocol. It's not marked as unstable but e.g. has no docs and isn't in wlr-protocols or even wayland-protocols either. Is if fit for wlroots 1.0? Idea would be to rename to wlr-gamma-control and mark it as unstable. Old gamma-control could be kept for backward compat but are there any users atm?
  • don't always use legacy drm interface

Test Plan

Merge request reports