aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/drm.h2
-rw-r--r--include/wlr/backend/session.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index fa63df0a..b3475703 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -6,7 +6,7 @@
#include <wlr/backend.h>
struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
- struct wlr_session *session, int gpu_fd);
+ struct wlr_session *session, int gpu_fd, struct wlr_backend *parent);
bool wlr_backend_is_drm(struct wlr_backend *backend);
diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h
index 52cf13b7..94002bc5 100644
--- a/include/wlr/backend/session.h
+++ b/include/wlr/backend/session.h
@@ -72,12 +72,13 @@ int wlr_session_open_file(struct wlr_session *session, const char *path);
void wlr_session_close_file(struct wlr_session *session, int fd);
void wlr_session_signal_add(struct wlr_session *session, int fd,
- struct wl_listener *listener);
+ struct wl_listener *listener);
/*
* Changes the virtual terminal.
*/
bool wlr_session_change_vt(struct wlr_session *session, unsigned vt);
-int wlr_session_find_gpu(struct wlr_session *session);
+size_t wlr_session_find_gpus(struct wlr_session *session,
+ size_t ret_len, int ret[static ret_len]);
#endif