From d1b39b58432c471c16e09103fd2c7850e3c41950 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 23 Nov 2023 14:17:39 +0100 Subject: backend: take wl_event_loop instead of wl_display in wlr_backend_autocreate() --- include/wlr/backend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/backend.h b/include/wlr/backend.h index 24d8c6b5..e7d230b9 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -41,7 +41,7 @@ struct wlr_backend { * The multi-backend will be destroyed if one of the primary underlying * backends is destroyed (e.g. if the primary DRM device is unplugged). */ -struct wlr_backend *wlr_backend_autocreate(struct wl_display *display, +struct wlr_backend *wlr_backend_autocreate(struct wl_event_loop *loop, struct wlr_session **session_ptr); /** * Start the backend. This may signal new_input or new_output immediately, but -- cgit v1.2.3