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() --- tinywl/tinywl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinywl') diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c index bb1d9f57..bd21dd91 100644 --- a/tinywl/tinywl.c +++ b/tinywl/tinywl.c @@ -851,7 +851,7 @@ int main(int argc, char *argv[]) { * output hardware. The autocreate option will choose the most suitable * backend based on the current environment, such as opening an X11 window * if an X11 server is running. */ - server.backend = wlr_backend_autocreate(server.wl_display, NULL); + server.backend = wlr_backend_autocreate(wl_display_get_event_loop(server.wl_display), NULL); if (server.backend == NULL) { wlr_log(WLR_ERROR, "failed to create wlr_backend"); return 1; -- cgit v1.2.3