diff options
author | Simon Ser <contact@emersion.fr> | 2023-11-23 13:58:36 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-25 15:05:36 +0000 |
commit | ed0bba581bdf0dd24e48de69ef51cf2420a50289 (patch) | |
tree | 2bdc2979226d99283aa6ad821fc1fe5dc87ce7dc /backend/backend.c | |
parent | f5e8fa48f3cf6dc8522191bb56670503de41fa4c (diff) |
backend/wayland: take wl_event_loop instead of wl_display
Diffstat (limited to 'backend/backend.c')
-rw-r--r-- | backend/backend.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/backend.c b/backend/backend.c index fbd7bd16..9b384068 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -194,7 +194,8 @@ static struct wlr_auto_backend_monitor *auto_backend_monitor_create( } static struct wlr_backend *attempt_wl_backend(struct wl_display *display) { - struct wlr_backend *backend = wlr_wl_backend_create(display, NULL); + struct wl_event_loop *loop = wl_display_get_event_loop(display); + struct wlr_backend *backend = wlr_wl_backend_create(loop, NULL); if (backend == NULL) { return NULL; } |