X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Flogind-seat.c;fp=src%2Flogin%2Flogind-seat.c;h=1be8713754c3fec5503c8c8e06a6b8a9273fc3c4;hp=8d13a63688180d7b029cab930e272259a4e9e64d;hb=059696ac014da265ee2d1b062cd0dc7bee3d2001;hpb=db74dfab5842da3f83d3bb9e2fa3bf8736939ecf 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);