kmscon: add --vt=<num> option to select VT for seat0
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 29 Sep 2012 09:49:54 +0000 (11:49 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 29 Sep 2012 09:49:54 +0000 (11:49 +0200)
commitbf1879901555579b119097c4dfd2dc6f9f4ab48f
tree10be3e534a2a2ff64e0b290c3a12eb36803efeec
parenta6165a03c7501cd5a07631f4914bfea1c37f0cde
kmscon: add --vt=<num> option to select VT for seat0

VTs are only available on seat0 so this option does not affect other
seats. On seat0 it selects the VT that we run on. We do _not_ fall back to
another seat if it fails but disable this seat instead.

Reported-by: Matthew Monaco
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/main.c
src/main.h
src/uterm.h
src/uterm_vt.c