aboutsummaryrefslogtreecommitdiff
path: root/backend/session/noop.c
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-07-25 21:53:06 +0200
committerSimon Ser <contact@emersion.fr>2020-08-24 11:13:55 +0200
commitbad1e9afa8ea7d8927c8b4df83d3f277379dd54e (patch)
treea5f655d5b3fa824e12a1429ec4c8e49ab53f2cc9 /backend/session/noop.c
parent9feeb2738dfc5a2b07a817938cef9d553d0a26ee (diff)
session: Add libseat backend
Diffstat (limited to 'backend/session/noop.c')
-rw-r--r--backend/session/noop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/session/noop.c b/backend/session/noop.c
index 0e13a177..3f293775 100644
--- a/backend/session/noop.c
+++ b/backend/session/noop.c
@@ -6,6 +6,7 @@
#include <wayland-server-core.h>
#include <wlr/backend/session/interface.h>
#include <wlr/util/log.h>
+#include "backend/session/session.h"
#include "util/signal.h"
const struct session_impl session_noop;
@@ -33,7 +34,9 @@ static struct wlr_session *noop_session_create(struct wl_display *disp) {
return NULL;
}
+ session_init(session);
session->impl = &session_noop;
+ session->active = true;
wlr_log(WLR_INFO, "Successfully initialized noop session");
return session;