seat: always activate fake-VTs during startup

Instead of relying on --switchvt, we should always activate fake-VTs
during startup. Otherwise, we might end up with dead seats as there is no
way to wake up kmscon later.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann committed 2012-12-09 14:19:17 +01:00
1 parent 5e8ce520c2
commit 89b6ff63fc
2 files changed
+2 -7

No files matched your search

+2 -1
View File
@@ -800,7 +800,8 @@ void kmscon_seat_startup(struct kmscon_seat *seat)
log_error("cannot register kmscon compositor: %d", ret);
}
if (seat->conf->switchvt)
if (seat->conf->switchvt ||
uterm_vt_get_type(seat->vt) == UTERM_VT_FAKE)
uterm_vt_activate(seat->vt);
}