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
@@ -924,7 +924,7 @@ fbdev_backend_create(struct weston_compositor *compositor,
wl_signal_add(&compositor->session_signal,
&backend->session_listener);
compositor->launcher =
weston_launcher_connect(compositor, param->tty, seat_id, false);
weston_launcher_connect(compositor, seat_id, false);
if (!compositor->launcher) {
weston_log("fatal: your system should either provide the "
"logind D-Bus API, or use seatd.\n");
@@ -968,7 +968,6 @@ out_compositor:
static void
config_init_to_defaults(struct weston_fbdev_backend_config *config)
{
config->tty = 0; /* default to current tty */
config->device = NULL;
config->seat_id = NULL;
}