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() --- examples/output-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/output-layout.c') diff --git a/examples/output-layout.c b/examples/output-layout.c index 07ae26bc..4400685c 100644 --- a/examples/output-layout.c +++ b/examples/output-layout.c @@ -275,7 +275,7 @@ int main(int argc, char *argv[]) { state.layout = wlr_output_layout_create(display); clock_gettime(CLOCK_MONOTONIC, &state.ts_last); - struct wlr_backend *wlr = wlr_backend_autocreate(display, NULL); + struct wlr_backend *wlr = wlr_backend_autocreate(wl_display_get_event_loop(display), NULL); if (!wlr) { exit(1); } -- cgit v1.2.3