diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-04-11 16:29:24 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-14 23:25:07 +0200 |
commit | 95b657ba80f6128eefd246fdd1373664f45b1541 (patch) | |
tree | 9ba859a9a1353d0faa90c597689d38be76b26a14 /backend/session/session.c | |
parent | 21e8a940b821e02553ae37b8215cc7801eab725c (diff) |
backend/session: Make libseat mandatory
Diffstat (limited to 'backend/session/session.c')
-rw-r--r-- | backend/session/session.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/backend/session/session.c b/backend/session/session.c index ed332c7c..b0c407aa 100644 --- a/backend/session/session.c +++ b/backend/session/session.c @@ -25,9 +25,7 @@ extern const struct session_impl session_direct; extern const struct session_impl session_noop; static const struct session_impl *const impls[] = { -#if WLR_HAS_LIBSEAT &session_libseat, -#endif &session_direct, NULL, }; @@ -112,11 +110,7 @@ struct wlr_session *wlr_session_create(struct wl_display *disp) { const char *env_wlr_session = getenv("WLR_SESSION"); if (env_wlr_session) { if (strcmp(env_wlr_session, "libseat") == 0) { -#if WLR_HAS_LIBSEAT session = session_libseat.create(disp); -#else - wlr_log(WLR_ERROR, "wlroots is not compiled with libseat support"); -#endif } else if (strcmp(env_wlr_session, "direct") == 0) { session = session_direct.create(disp); } else if (strcmp(env_wlr_session, "noop") == 0) { |