diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-10-01 16:47:05 +1300 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-10-01 16:47:05 +1300 |
commit | fa3d0ed9295d18405ab65f63f329d3def19509a3 (patch) | |
tree | 0d2f07114044161062ded9fe457089c2f5853893 /include/wlr | |
parent | eaef028976d32e382c4ebcfbb8605a6f40cd22b8 (diff) |
Change wlr_session to open every GPU
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/backend/session.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 |