summaryrefslogtreecommitdiff
path: root/src/login/logind.h
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-01-26 10:15:42 +0100
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:23:10 +0100
commit059696ac014da265ee2d1b062cd0dc7bee3d2001 (patch)
tree92551b9245b08499b5f25ceb1e39b4482b5ef00a /src/login/logind.h
parentdb74dfab5842da3f83d3bb9e2fa3bf8736939ecf (diff)
Remove support for auto-spawning VTs
Auto-spawning VTs requires systemd in practice. If you're using systemd you can just use its logind :)
Diffstat (limited to 'src/login/logind.h')
-rw-r--r--src/login/logind.h5
1 files changed, 4 insertions, 1 deletions
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);