launcher: do not touch VT/tty while using non-default seat
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Wed, 3 Jun 2020 13:01:06 +0000 (10:01 -0300)
committerPekka Paalanen <pq@iki.fi>
Thu, 25 Jun 2020 10:17:31 +0000 (10:17 +0000)
commit887a7e5717275c0dec007e6128298d5956c70891
tree0c40a11ae80d197e5d572e433635e583753cffcc
parent77d06f7b8bc40f402468d4a5ab5ac8f935b0b971
launcher: do not touch VT/tty while using non-default seat

Launcher-direct does not allow us to run using a different
seat from the default seat0. This happens because VTs are
only exposed to the default seat, and users that are on
non-default seat should not touch VTs.

Add check in launcher-direct to skip VT/tty management if user
is running on a non-default seat.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
libweston/launcher-direct.c