aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-12-21 14:27:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-12-21 14:27:17 +0000
commit57de9feaa508fdd83c0d08c499232187c5f4b6c1 (patch)
tree66f5c07705aa62fae0fb81072e5cda7a0679b88d /main.c
parentterm: experimental: tweak delay timeouts (diff)
term: term_spawn_new(): new function, spawns a new foot/footclient process
Bind ctrl+shift+return to it
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
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)