***/
#include <errno.h>
-#include <unistd.h>
#include <fcntl.h>
#include <string.h>
+#include <unistd.h>
#include "sd-messages.h"
-#include "logind-seat.h"
+
+#include "alloc-util.h"
+#include "fd-util.h"
+#include "fileio.h"
+#include "formats-util.h"
#include "logind-acl.h"
-#include "util.h"
+#include "logind-seat.h"
#include "mkdir.h"
-#include "formats-util.h"
+#include "parse-util.h"
+#include "string-util.h"
#include "terminal-util.h"
+#include "util.h"
Seat *seat_new(Manager *m, const char *id) {
Seat *s;
return 0;
}
+#if 0 /// UNNEEDED by elogind
static int vt_allocate(unsigned int vtnr) {
char p[sizeof("/dev/tty") + DECIMAL_STR_MAX(unsigned int)];
_cleanup_close_ int fd = -1;
return r;
}
+#endif // 0
int seat_apply_acls(Seat *s, Session *old_active) {
int r;
}
r = seat_set_active(s, new_active);
+
+#if 0 /// elogind does not spawn autovt
manager_spawn_autovt(s->manager, vtnr);
+#endif // 0
return r;
}
NULL);
/* Initialize VT magic stuff */
+#if 0 /// elogind does not support autospawning vts
seat_preallocate_vts(s);
+#endif // 0
/* Read current VT */
seat_read_active_vt(s);