diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-30 19:24:54 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-30 19:24:54 +0000 |
| commit | c7238ef7f3c6f182414c7456d3d4ed0faf2ee041 (patch) | |
| tree | 4afe842c1cc7749724a359c8e592161e51f0ef10 | |
| parent | term: term_init(): create wayland window *last* (diff) | |
term: assign client PID to term->slave
| -rw-r--r-- | terminal.c | 2 |
1 files changed, 1 insertions, 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 */ |
