mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term_init(): initialize slave TERM from term_init() argument
This commit is contained in:
parent
69d62d3cd2
commit
0bd2ddd8ad
4 changed files with 6 additions and 6 deletions
4
server.c
4
server.c
|
|
@ -117,8 +117,8 @@ fdm_client(struct fdm *fdm, int fd, int events, void *data)
|
|||
|
||||
assert(client->term == NULL);
|
||||
client->term = term_init(
|
||||
server->conf, server->fdm, server->wayl, client->argc, client->argv,
|
||||
&term_shutdown_handler, client);
|
||||
server->conf, server->fdm, server->wayl, server->conf->term,
|
||||
client->argc, client->argv, &term_shutdown_handler, client);
|
||||
|
||||
if (client->term == NULL) {
|
||||
LOG_ERR("failed to instantiate new terminal");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue