aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/drm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index 5179db4b..ede43fda 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -2,13 +2,13 @@
#define WLR_BACKEND_DRM_H
#include <wayland-server.h>
+#include <wlr/session.h>
struct wlr_drm_backend;
struct wlr_drm_display;
-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);
struct wl_event_loop *wlr_drm_backend_get_event_loop(struct wlr_drm_backend *backend);