This isn't quite a final D-Bus API yet, but it goes a long waytowards implementing one in a later commit. See #19 for more on this topic.
Main changes:
id()andlabel()methods added toDisplayBrightnessinterface.ScreenBrightnessLogicis now tracked per display.- Display changes are emitted from
onDetectorDisplaysChanged(). ScreenBrightnessControllermethods now expect adisplayId.- Legacy API without
displayIdoperates on displays of the firstnon-empty detector, and calls non-legacy API withdisplayId(s).