From 54f9944b4885e4a08c0f004136ef06f732b8308f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 23 Nov 2023 14:08:46 +0100 Subject: backend/drm: drop wl_display argument We can grab the event loop from the wlr_session instead. --- include/wlr/backend/drm.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h index e8f9f6a3..3ca6390a 100644 --- a/include/wlr/backend/drm.h +++ b/include/wlr/backend/drm.h @@ -36,9 +36,8 @@ struct wlr_drm_lease { * To slave this to another DRM backend, pass it as the parent (which _must_ be * a DRM backend, other kinds of backends raise SIGABRT). */ -struct wlr_backend *wlr_drm_backend_create(struct wl_display *display, - struct wlr_session *session, struct wlr_device *dev, - struct wlr_backend *parent); +struct wlr_backend *wlr_drm_backend_create(struct wlr_session *session, + struct wlr_device *dev, struct wlr_backend *parent); bool wlr_backend_is_drm(struct wlr_backend *backend); bool wlr_output_is_drm(struct wlr_output *output); -- cgit v1.2.3