mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/session: Remove direct backend
This is instead delegated to libseat.
This commit is contained in:
parent
95b657ba80
commit
d037c2dddc
7 changed files with 1 additions and 871 deletions
|
|
@ -21,12 +21,10 @@
|
|||
#define WAIT_GPU_TIMEOUT 10000 // ms
|
||||
|
||||
extern const struct session_impl session_libseat;
|
||||
extern const struct session_impl session_direct;
|
||||
extern const struct session_impl session_noop;
|
||||
|
||||
static const struct session_impl *const impls[] = {
|
||||
&session_libseat,
|
||||
&session_direct,
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
|
@ -111,8 +109,6 @@ struct wlr_session *wlr_session_create(struct wl_display *disp) {
|
|||
if (env_wlr_session) {
|
||||
if (strcmp(env_wlr_session, "libseat") == 0) {
|
||||
session = session_libseat.create(disp);
|
||||
} else if (strcmp(env_wlr_session, "direct") == 0) {
|
||||
session = session_direct.create(disp);
|
||||
} else if (strcmp(env_wlr_session, "noop") == 0) {
|
||||
session = session_noop.create(disp);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue