diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-21 18:40:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 18:40:54 -0500 |
commit | 0a370c529806077a11638e7fa856d5fbb539496b (patch) | |
tree | b00eb27649a61035af82b735673e6fd780862f9b /include/backend | |
parent | 1a96ce0c53c84295d33b143e1b6cf02cb7017d50 (diff) | |
parent | 4cec7f54e24a58fd9756395ce64a5bd73f412c9e (diff) |
Merge pull request #506 from acrisci/multi-backend-fixes
[wip] multibackend fixes
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 2 | ||||
-rw-r--r-- | include/backend/multi.h | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 278c387c..72671f45 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -143,4 +143,6 @@ int wlr_drm_event(int fd, uint32_t mask, void *data); void wlr_drm_connector_start_renderer(struct wlr_drm_connector *conn); +struct wlr_session *wlr_drm_backend_get_session(struct wlr_backend *backend); + #endif diff --git a/include/backend/multi.h b/include/backend/multi.h index 2798048d..3363c608 100644 --- a/include/backend/multi.h +++ b/include/backend/multi.h @@ -9,10 +9,14 @@ struct wlr_multi_backend { struct wlr_backend backend; - struct wlr_session *session; struct wl_list backends; struct wl_listener display_destroy; + + struct { + struct wl_signal backend_add; + struct wl_signal backend_remove; + } events; }; #endif |