aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-11-23 14:03:14 +0100
committerKirill Primak <vyivel@eclair.cafe>2024-01-25 15:05:36 +0000
commitb62ac611c8825f83c992843e3832474eaa2e4b72 (patch)
treee9cd0501f7faf0f595d2276f58dbbf8b820eda11 /include
parented0bba581bdf0dd24e48de69ef51cf2420a50289 (diff)
backend/x11: take wl_event_loop instead of wl_display
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);
/**