Draft: backend/multi: improve type-safety by exposing wlr_multi_backend
Expose an opaque wlr_multi_backend struct. That way functions operating on a multi backend can take this struct instead of a generic wlr_backend, without having to assert.
- Worth it? Should we do this for all backends/renderers/etc?
- Since the struct is opaque, had to introduce a
wlr_multi_backend_base()
function. - Naming: I used
wlr_multi_backend_try_from()
, is this fine?
Edited by Simon Ser