From b62ac611c8825f83c992843e3832474eaa2e4b72 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 23 Nov 2023 14:03:14 +0100 Subject: backend/x11: take wl_event_loop instead of wl_display --- include/backend/x11.h | 4 ++-- include/wlr/backend/x11.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/backend/x11.h b/include/backend/x11.h index 9eb208b1..fcea4d25 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -62,7 +62,7 @@ struct wlr_x11_touchpoint { struct wlr_x11_backend { struct wlr_backend backend; - struct wl_display *wl_display; + struct wl_event_loop *event_loop; bool started; xcb_connection_t *xcb; @@ -108,7 +108,7 @@ struct wlr_x11_backend { uint8_t present_opcode; uint8_t xinput_opcode; - struct wl_listener display_destroy; + struct wl_listener event_loop_destroy; }; struct wlr_x11_buffer { diff --git a/include/wlr/backend/x11.h b/include/wlr/backend/x11.h index 54d91c75..1791041c 100644 --- a/include/wlr/backend/x11.h +++ b/include/wlr/backend/x11.h @@ -17,7 +17,7 @@ struct wlr_input_device; * The `x11_display` argument is the name of the X Display socket. Set * to NULL for the default behaviour of XOpenDisplay(). */ -struct wlr_backend *wlr_x11_backend_create(struct wl_display *display, +struct wlr_backend *wlr_x11_backend_create(struct wl_event_loop *loop, const char *x11_display); /** -- cgit v1.2.3