From 57de9feaa508fdd83c0d08c499232187c5f4b6c1 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 21 Dec 2019 15:27:17 +0100 Subject: term: term_spawn_new(): new function, spawns a new foot/footclient process Bind ctrl+shift+return to it --- main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index a8776606..540f106c 100644 --- a/main.c +++ b/main.c @@ -223,8 +223,9 @@ main(int argc, char *const *argv) if ((wayl = wayl_init(fdm)) == NULL) goto out; - if (!as_server && (term = term_init(&conf, fdm, wayl, conf.term, argc, argv, - &term_shutdown_cb, &shutdown_ctx)) == NULL) + if (!as_server && (term = term_init( + &conf, fdm, wayl, conf.term, prog_name, argc, argv, + &term_shutdown_cb, &shutdown_ctx)) == NULL) goto out; if (as_server && (server = server_init(&conf, fdm, wayl)) == NULL) -- cgit v1.3