mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
term: term_spawn_new(): new function, spawns a new foot/footclient process
Bind ctrl+shift+return to it
This commit is contained in:
parent
2a95f2949b
commit
57de9feaa5
6 changed files with 80 additions and 5 deletions
5
main.c
5
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue