mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
session: Add libseat backend
This commit is contained in:
parent
9feeb2738d
commit
bad1e9afa8
13 changed files with 244 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue