sway

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

commit 387eca1b29cbc6f497e2cb26a0bff0b06b50b6a1
parent 5f915a9d036dac8adbccd9b88100aa80224b0757
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 29 Jun 2017 13:22:54 -0400

Revert "swaybar: Group child processes for signalling"

This reverts commit 8f4bc0a3741b63c64bb6059bb632e7584c595d14.

Diffstat:
Mswaybar/bar.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/swaybar/bar.c b/swaybar/bar.c @@ -41,7 +41,6 @@ static void spawn_status_cmd_proc(struct bar *bar) { close(pipefd[0]); dup2(pipefd[1], STDOUT_FILENO); close(pipefd[1]); - setpgid(bar->status_command_pid, 0); char *const cmd[] = { "sh", "-c", @@ -291,7 +290,7 @@ static void free_outputs(list_t *outputs) { static void terminate_status_command(pid_t pid) { if (pid) { // terminate status_command process - int ret = killpg(pid, SIGTERM); + int ret = kill(pid, SIGTERM); if (ret != 0) { sway_log(L_ERROR, "Unable to terminate status_command [pid: %d]", pid); } else {