logind: allow switching to unused VTs via SwitchTo()
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 8 Jul 2014 10:56:55 +0000 (12:56 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 8 Jul 2014 10:56:55 +0000 (12:56 +0200)
commit154034270c4643b7cfe61c0be1676d78bb1b7b07
treeeb299afe0ee7324cc205aabbdd54d2fcad322716
parent5aded369782f28255bc6b494ca905d7acaea7a56
logind: allow switching to unused VTs via SwitchTo()

If compositors use the new SwitchTo() logic to map F1-F12, we should allow
them to switch to unregistered VTs, too. Otherwise, the auto-spawn logic
of gettys won't trigger.

Reported-by: Jasper St. Pierre <jstpierre@mecheye.net>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/login/logind-seat.c