mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
term: init: no need to roundtrip
This commit is contained in:
parent
3e5f011f75
commit
6c6e3da7e2
1 changed files with 5 additions and 5 deletions
10
terminal.c
10
terminal.c
|
|
@ -770,15 +770,15 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
|
|||
if ((term->window = wayl_win_init(term)) == NULL)
|
||||
goto err;
|
||||
|
||||
/* Let the Wayland backend know we exist */
|
||||
tll_push_back(wayl->terms, term);
|
||||
wayl_roundtrip(term->wl);
|
||||
term_set_window_title(term, "foot");
|
||||
|
||||
/* Load fonts */
|
||||
if (!term_font_dpi_changed(term))
|
||||
goto err;
|
||||
|
||||
term_set_window_title(term, "foot");
|
||||
|
||||
/* Let the Wayland backend know we exist */
|
||||
tll_push_back(wayl->terms, term);
|
||||
|
||||
/* Start the slave/client */
|
||||
if ((term->slave = slave_spawn(term->ptmx, argc, term->cwd, argv, term_env, conf->shell, login_shell)) == -1)
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue