diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/headless.h | 4 | ||||
-rw-r--r-- | include/wlr/backend/headless.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h index 4c71fb60..21df86ea 100644 --- a/include/backend/headless.h +++ b/include/backend/headless.h @@ -8,9 +8,9 @@ struct wlr_headless_backend { struct wlr_backend backend; - struct wl_display *display; + struct wl_event_loop *event_loop; struct wl_list outputs; - struct wl_listener display_destroy; + struct wl_listener event_loop_destroy; bool started; }; diff --git a/include/wlr/backend/headless.h b/include/wlr/backend/headless.h index 2516f3a6..126f1ff2 100644 --- a/include/wlr/backend/headless.h +++ b/include/wlr/backend/headless.h @@ -16,7 +16,7 @@ * Creates a headless backend. A headless backend has no outputs or inputs by * default. */ -struct wlr_backend *wlr_headless_backend_create(struct wl_display *display); +struct wlr_backend *wlr_headless_backend_create(struct wl_event_loop *loop); /** * Create a new headless output. * |