Skip to content

backend: add output state allow-lists

Simon Ser requested to merge github/fork/emersion/output-state-allow-list into master

Right now, when a new output state field is added, all backends by default won't reject it. This means we need to add new checks to each and every backend when we introduce a new state field.

Instead, introduce a bitmask of supported output state fields in each backend, and error out if the user has submitted an unknown field.

Some fields don't need any backend involvment to work. These are listed in WLR_OUTPUT_STATE_BACKEND_OPTIONAL as a convenience.

Merge request reports

Loading