mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Rename functions to be consistent with #93
This commit is contained in:
parent
f10da8291b
commit
46823152ea
9 changed files with 22 additions and 22 deletions
|
|
@ -85,7 +85,7 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display) {
|
|||
|
||||
// Attempt DRM+libinput
|
||||
|
||||
struct wlr_session *session = wlr_session_start(display);
|
||||
struct wlr_session *session = wlr_session_create(display);
|
||||
if (!session) {
|
||||
wlr_log(L_ERROR, "Failed to start a DRM session");
|
||||
return NULL;
|
||||
|
|
@ -131,6 +131,6 @@ error_gpu:
|
|||
error_udev:
|
||||
wlr_udev_destroy(udev);
|
||||
error_session:
|
||||
wlr_session_finish(session);
|
||||
wlr_session_destroy(session);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue