diff --git a/ProcessList.c b/ProcessList.c index e9bff680..160c05b4 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -273,7 +273,7 @@ void ProcessList_rebuildPanel(ProcessList* this) { if ( (!p->show) || (this->userId != (uid_t) -1 && (p->st_uid != this->userId)) || (incFilter && !(String_contains_i(p->comm, incFilter))) - || (this->pidWhiteList && !Hashtable_get(this->pidWhiteList, p->pid)) ) + || (this->pidWhiteList && !Hashtable_get(this->pidWhiteList, p->tgid)) ) hidden = true; if (!hidden) {