sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit d26a0a1a6e88ae632c2bcc33fed589ff733c818e
parent 2477930d90a75f5d94247eddf36f87b5689f3056
Author: Dominique Martinet <asmadeus@codewreck.org>
Date:   Fri,  8 Jun 2018 22:27:33 +0900

sway exec command: use waitpid instead of wait

Diffstat:
Msway/commands/exec_always.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c @@ -73,7 +73,7 @@ struct cmd_results *cmd_exec_always(int argc, char **argv) { } close(fd[0]); // cleanup child process - wait(0); + waitpid(pid, NULL, 0); if (*child > 0) { wlr_log(L_DEBUG, "Child process created with pid %d", *child); // TODO: add PID to active workspace