conf: print warning if --vt is used wrong
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 1 Dec 2012 14:46:42 +0000 (15:46 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 1 Dec 2012 14:46:42 +0000 (15:46 +0100)
commit79312a60ae5595c37d943f0e50f1b50614d6c466
treef734fea587e3f49fa28c7d1c4862d514c08af265
parent53ad90da0f23da71a154c2b1a7783674e6adebf3
conf: print warning if --vt is used wrong

--vt should only be used when kmscon runs on a single seat. Otherwise,
this VT will be forced on all seats and each kmscon instance _might_
collide.
If this is done with care, the --vt/--seats combination can work. However,
the use-cases are negligible and we should rather warn the ordinary user
not to do it.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/kmscon_conf.c
src/kmscon_conf.h