backend/session: add docs

This commit is contained in:
Simon Ser 2024-01-31 19:01:13 +01:00
parent 5b08f91004
commit 967e788bc8
2 changed files with 30 additions and 5 deletions

View file

@ -445,9 +445,6 @@ static void find_gpus_handle_add(struct wl_listener *listener, void *data) {
handler->added = true;
}
/* Tries to find the primary GPU by checking for the "boot_vga" attribute.
* If it's not found, it returns the first valid GPU it finds.
*/
ssize_t wlr_session_find_gpus(struct wlr_session *session,
size_t ret_len, struct wlr_device **ret) {
const char *explicit = getenv("WLR_DRM_DEVICES");