aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/backend/session.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h
index 3583b317..b61de852 100644
--- a/include/wlr/backend/session.h
+++ b/include/wlr/backend/session.h
@@ -42,8 +42,8 @@ struct wlr_session {
struct wl_list devices;
- struct wl_display *display;
- struct wl_listener display_destroy;
+ struct wl_event_loop *event_loop;
+ struct wl_listener event_loop_destroy;
struct {
struct wl_signal active;
@@ -80,7 +80,7 @@ struct wlr_device_change_event {
*
* Returns NULL on error.
*/
-struct wlr_session *wlr_session_create(struct wl_display *disp);
+struct wlr_session *wlr_session_create(struct wl_event_loop *loop);
/*
* Closes a previously opened session and restores the virtual terminal.