mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/session: add docs
This commit is contained in:
parent
5b08f91004
commit
967e788bc8
2 changed files with 30 additions and 5 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue