diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-05-03 16:23:07 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-05-03 16:23:07 +1200 |
commit | 81998fdc98231cb1b2e050da2fcec7c75d46320c (patch) | |
tree | 1ccf64d2df9a5942e8b497df9a5f766eaf92aac2 /include/backend/drm/backend.h | |
parent | 762ac7f4c0168bf2ce536d94b3b44cb95939d769 (diff) |
Removed old session code from DRM backend.
Diffstat (limited to 'include/backend/drm/backend.h')
-rw-r--r-- | include/backend/drm/backend.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/backend/drm/backend.h b/include/backend/drm/backend.h index 1ad8e479..32182d0c 100644 --- a/include/backend/drm/backend.h +++ b/include/backend/drm/backend.h @@ -8,10 +8,10 @@ #include <libudev.h> #include <wayland-server.h> +#include <wlr/session.h> #include <wlr/common/list.h> #include <wlr/backend/drm.h> -#include "session.h" #include "udev.h" #include "event.h" #include "drm.h" @@ -38,13 +38,12 @@ struct wlr_drm_backend { uint32_t taken_crtcs; struct wlr_drm_renderer renderer; - struct wlr_session session; + struct wlr_session *session; struct wlr_udev udev; }; -struct wlr_drm_backend *wlr_drm_backend_init(struct wl_listener *add, - struct wl_listener *rem, - struct wl_listener *render); +struct wlr_drm_backend *wlr_drm_backend_init(struct wlr_session *session, + struct wl_listener *add, struct wl_listener *rem, struct wl_listener *render); void wlr_drm_backend_free(struct wlr_drm_backend *backend); #endif |