return idle_hint;
}
-int seat_check_gc(Seat *s) {
+int seat_check_gc(Seat *s, bool drop_not_started) {
assert(s);
- if (!s->started)
+ if (drop_not_started && !s->started)
return 0;
if (seat_is_vtconsole(s))
if (!seat_name_valid_char(*p))
return false;
+ if (strlen(name) > 255)
+ return false;
+
return true;
}