X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind.h;fp=src%2Flogin%2Flogind.h;h=654744bb4585a5240ea06135d0bed4fc47540077;hb=059696ac014da265ee2d1b062cd0dc7bee3d2001;hp=a74a3e4835acfc9f27c7d08afc426e8660b01d0a;hpb=db74dfab5842da3f83d3bb9e2fa3bf8736939ecf;p=elogind.git diff --git a/src/login/logind.h b/src/login/logind.h index a74a3e483..654744bb4 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -78,10 +78,13 @@ struct Manager { int console_active_fd; +/// elogind does not support autospawning of vts +#if 0 unsigned n_autovts; unsigned reserve_vt; int reserve_vt_fd; +#endif // 0 Seat *seat0; @@ -160,7 +163,7 @@ int manager_add_inhibitor(Manager *m, const char* id, Inhibitor **_inhibitor); int manager_process_seat_device(Manager *m, struct udev_device *d); int manager_process_button_device(Manager *m, struct udev_device *d); -int manager_spawn_autovt(Manager *m, unsigned int vtnr); +// UNNEEDED int manager_spawn_autovt(Manager *m, unsigned int vtnr); bool manager_shall_kill(Manager *m, const char *user);