all repos — tint2 @ cf930fa42e73b3ef96198c7b2914fdc8687d6feb

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Fix hang (issue #586)
o9000 mrovi9000@gmail.com
commit

cf930fa42e73b3ef96198c7b2914fdc8687d6feb

parent

da51d3732292a19fbc17e50e920b49adb9443d60

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/tint.csrc/tint.c

@@ -416,7 +416,7 @@ {

// Wait for all dead processes pid_t pid; int status; - while ((pid = waitpid(-1, &status, WNOHANG)) != -1) { + while ((pid = waitpid(-1, &status, WNOHANG)) != -1 && pid != 0) { #ifdef HAVE_SN SnLauncherContext *ctx = (SnLauncherContext *)g_tree_lookup(server.pids, GINT_TO_POINTER(pid)); if (ctx) {