aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend.h
diff options
context:
space:
mode:
authorascent12 <ascent12@hotmail.com>2017-06-01 23:10:19 +1200
committerGitHub <noreply@github.com>2017-06-01 23:10:19 +1200
commit62d612a01e10947db2c2047be528ed525e5f91be (patch)
tree0fe44a59a19c09b0a7b8673dc93de57096eb49a9 /include/wlr/backend.h
parentf9d363fece0046cabfa00ad6b72b50f45b70db60 (diff)
parentae770043460cdfca496dd6caeab55f337f3db37b (diff)
Merge branch 'master' into session
Diffstat (limited to 'include/wlr/backend.h')
-rw-r--r--include/wlr/backend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/wlr/backend.h b/include/wlr/backend.h
index b424c29f..32d96a8d 100644
--- a/include/wlr/backend.h
+++ b/include/wlr/backend.h
@@ -2,6 +2,7 @@
#define _WLR_BACKEND_H
#include <wayland-server.h>
+#include <wlr/session.h>
struct wlr_backend_impl;
struct wlr_backend_state;
@@ -22,7 +23,8 @@ struct wlr_backend {
} events;
};
-struct wlr_backend *wlr_backend_autocreate();
+struct wlr_backend *wlr_backend_autocreate(struct wl_display *display,
+ struct wlr_session *session);
bool wlr_backend_init(struct wlr_backend *backend);
void wlr_backend_destroy(struct wlr_backend *backend);