diff options
-rwxr-xr-x | src/launchpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/launchpad.c b/src/launchpad.c index f2ca786..7c6540e 100755 --- a/src/launchpad.c +++ b/src/launchpad.c @@ -817,7 +817,7 @@ static gboolean __handle_label_monitor(gpointer data) while (iter) { cpc = (candidate_process_context_t *)iter->data; - if (cpc->prepared) { + if (cpc->pid > 0) { if (cpc->source > 0) { g_source_remove(cpc->source); cpc->source = 0; |