backend/drm: add wlr_drm_connector.backend

This allows the DRM code to have direct access to the wlr_drm_backend
without having to go through an upcast via get_drm_backend_from_backend.
This commit is contained in:
Simon Ser 2020-12-09 14:31:06 +01:00
parent 87bd718de5
commit da2a216934
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 14 additions and 19 deletions

View file

@ -111,6 +111,7 @@ struct wlr_drm_mode {
struct wlr_drm_connector {
struct wlr_output output;
struct wlr_drm_backend *backend;
enum wlr_drm_connector_state state;
struct wlr_output_mode *desired_mode;
bool desired_enabled;