summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2017-09-14 17:10:39 -0300
committerHisham Muhammad <hisham@gobolinux.org>2017-09-14 17:10:39 -0300
commite3f65c8ec2fe81c50514dcf21c335e5d39c1a223 (patch)
treec329c7893293b0f4f5255ee2550b91685a6cd6f9 /Action.c
parentb9934ffa08dc2332bea03cae0536101b7b35562e (diff)
Make 'c' key work with threads as well.
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Action.c b/Action.c
index 391716a5..a6394ac3 100644
--- a/Action.c
+++ b/Action.c
@@ -142,7 +142,7 @@ static void tagAllChildren(Panel* panel, Process* parent) {
pid_t ppid = parent->pid;
for (int i = 0; i < Panel_size(panel); i++) {
Process* p = (Process*) Panel_get(panel, i);
- if (!p->tag && p->ppid == ppid) {
+ if (!p->tag && Process_isChildOf(p, ppid)) {
tagAllChildren(panel, p);
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy