aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-11-23 13:42:11 +0100
committerKirill Primak <vyivel@eclair.cafe>2024-01-25 15:05:36 +0000
commit682dbf36e53a36b09a2cc37ef6bdaf21fa8d35b5 (patch)
treee084ad677654a2f874907a646d21740b14545d1e /include
parent0867dd4e6bf1c0ff8d947d563bdd333464a1c0a8 (diff)
backend/headless: take wl_event_loop instead of wl_display
Diffstat (limited to 'include')
-rw-r--r--include/backend/headless.h4
-rw-r--r--include/wlr/backend/headless.h2
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.
*