mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Removed old session code from DRM backend.
This commit is contained in:
parent
762ac7f4c0
commit
81998fdc98
12 changed files with 41 additions and 275 deletions
|
|
@ -200,6 +200,9 @@ static struct wlr_session *logind_session_start(void) {
|
|||
if (!take_control(session))
|
||||
goto error_bus;
|
||||
|
||||
wl_log(L_INFO, "Successfully loaded logind session");
|
||||
|
||||
session->base.iface = session_logind_iface;
|
||||
return &session->base;
|
||||
|
||||
error_bus:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
#include <stddef.h>
|
||||
|
||||
#include <wlr/session.h>
|
||||
#include <stdarg.h>
|
||||
#include "common/log.h"
|
||||
#include "session/interface.h"
|
||||
|
||||
static const struct session_interface *ifaces[] = {
|
||||
|
|
@ -20,6 +22,7 @@ struct wlr_session *wlr_session_start(void) {
|
|||
}
|
||||
}
|
||||
|
||||
wlr_log(L_ERROR, "Failed to load session backend");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue