aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/wayland.h4
-rw-r--r--include/wlr/backend/wayland.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 098d1dc1..f8fb66ba 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -20,12 +20,12 @@ struct wlr_wl_backend {
/* local state */
bool started;
- struct wl_display *local_display;
+ struct wl_event_loop *event_loop;
struct wl_list outputs;
int drm_fd;
struct wl_list buffers; // wlr_wl_buffer.link
size_t requested_outputs;
- struct wl_listener local_display_destroy;
+ struct wl_listener event_loop_destroy;
char *activation_token;
/* remote state */
diff --git a/include/wlr/backend/wayland.h b/include/wlr/backend/wayland.h
index a30bac25..f402693a 100644
--- a/include/wlr/backend/wayland.h
+++ b/include/wlr/backend/wayland.h
@@ -15,7 +15,7 @@ struct wlr_input_device;
* The remote_display argument is an existing libwayland-client struct wl_display
* to use. Leave it NULL to create a new connection to the compositor.
*/
-struct wlr_backend *wlr_wl_backend_create(struct wl_display *display,
+struct wlr_backend *wlr_wl_backend_create(struct wl_event_loop *loop,
struct wl_display *remote_display);
/**