mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
term: assign client PID to term->slave
This commit is contained in:
parent
58e31728a0
commit
c7238ef7f3
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
|
|||
LOG_INFO("cell width=%d, height=%d", term->cell_width, term->cell_height);
|
||||
|
||||
/* Start the slave/client */
|
||||
if (slave_spawn(term->ptmx, argc, argv, conf->shell) == -1)
|
||||
if ((term->slave = slave_spawn(term->ptmx, argc, argv, conf->shell)) == -1)
|
||||
goto err;
|
||||
|
||||
/* Initiailze the Wayland window backend */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue