aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/x11.h4
-rw-r--r--include/wlr/backend/x11.h2
2 files changed, 3 insertions, 3 deletions
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);
/**