diff options
Diffstat (limited to 'src/login/logind-seat.c')
-rw-r--r-- | src/login/logind-seat.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/login/logind-seat.c b/src/login/logind-seat.c index 8d13a6368..1be871375 100644 --- a/src/login/logind-seat.c +++ b/src/login/logind-seat.c @@ -169,6 +169,8 @@ int seat_load(Seat *s) { return 0; } +/// UNNEEDED by elogind +#if 0 static int vt_allocate(unsigned int vtnr) { char p[sizeof("/dev/tty") + DECIMAL_STR_MAX(unsigned int)]; _cleanup_close_ int fd = -1; @@ -210,6 +212,7 @@ int seat_preallocate_vts(Seat *s) { return r; } +#endif // 0 int seat_apply_acls(Seat *s, Session *old_active) { int r; @@ -361,7 +364,11 @@ int seat_active_vt_changed(Seat *s, unsigned int vtnr) { } r = seat_set_active(s, new_active); + +/// elogind does not spawn autovt +#if 0 manager_spawn_autovt(s->manager, vtnr); +#endif // 0 return r; } @@ -420,7 +427,10 @@ int seat_start(Seat *s) { NULL); /* Initialize VT magic stuff */ +/// elogind does not support autospawning vts +#if 0 seat_preallocate_vts(s); +#endif // 0 /* Read current VT */ seat_read_active_vt(s); |