backend/multi: take wl_event_loop instead of wl_display

This commit is contained in:
Simon Ser 2023-11-23 14:11:23 +01:00 committed by Kirill Primak
parent 54f9944b48
commit f27808b8d9
4 changed files with 10 additions and 9 deletions

View file

@ -344,7 +344,8 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display,
}
struct wlr_session *session = NULL;
struct wlr_backend *multi = wlr_multi_backend_create(display);
struct wl_event_loop *loop = wl_display_get_event_loop(display);
struct wlr_backend *multi = wlr_multi_backend_create(loop);
if (!multi) {
wlr_log(WLR_ERROR, "could not allocate multibackend");
return NULL;