launchers: Remove --tty option

This doesn't work with any of the launchers we've kept. Remove the option
and all the bits that handle it.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman
2022-03-02 10:51:15 -06:00
parent a96dfc7098
commit 2c91c70250
11 changed files with 10 additions and 30 deletions
+1 -2
View File
@@ -3018,8 +3018,7 @@ drm_backend_create(struct weston_compositor *compositor,
goto err_compositor;
/* Check if we run drm-backend using a compatible launcher */
compositor->launcher = weston_launcher_connect(compositor, config->tty,
seat_id, true);
compositor->launcher = weston_launcher_connect(compositor, seat_id, true);
if (compositor->launcher == NULL) {
weston_log("fatal: your system should either provide the "
"logind D-Bus API, or use seatd.\n");