mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-15 21:44:36 +03:00
Make 'c' key work with threads as well.
This commit is contained in:
2
Action.c
2
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user