aboutsummaryrefslogtreecommitdiff
path: root/session
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-05-03 16:23:07 +1200
committerScott Anderson <ascent12@hotmail.com>2017-05-03 16:23:07 +1200
commit81998fdc98231cb1b2e050da2fcec7c75d46320c (patch)
tree1ccf64d2df9a5942e8b497df9a5f766eaf92aac2 /session
parent762ac7f4c0168bf2ce536d94b3b44cb95939d769 (diff)
Removed old session code from DRM backend.
Diffstat (limited to 'session')
-rw-r--r--session/logind.c3
-rw-r--r--session/session.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/session/logind.c b/session/logind.c
index c81a2020..0d8a52b5 100644
--- a/session/logind.c
+++ b/session/logind.c
@@ -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:
diff --git a/session/session.c b/session/session.c
index 88391e6e..2f1b87be 100644
--- a/session/session.c
+++ b/session/session.c
@@ -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;
}