From 1b805a31720727008b32b1129a167758519fd4db Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 2 May 2022 16:04:21 +0200 Subject: New upstream version 3.2.0 --- ProcessList.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ProcessList.h') diff --git a/ProcessList.h b/ProcessList.h index a12ffa1..c420038 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -43,13 +43,13 @@ typedef unsigned long long int memory_t; typedef struct ProcessList_ { const Settings* settings; - Vector* processes; - Vector* processes2; - Hashtable* processTable; + Vector* processes; /* all known processes; sort order can vary and differ from display order */ + Vector* displayList; /* process tree flattened in display order (borrowed); + updated in ProcessList_updateDisplayList when rebuilding panel */ + Hashtable* processTable; /* fast known process lookup by PID */ UsersTable* usersTable; - Hashtable* displayTreeSet; - Hashtable* draftingTreeSet; + bool needsSort; Hashtable* dynamicMeters; /* runtime-discovered meters */ Hashtable* dynamicColumns; /* runtime-discovered Columns */ @@ -108,7 +108,7 @@ void ProcessList_add(ProcessList* this, Process* p); void ProcessList_remove(ProcessList* this, const Process* p); -void ProcessList_sort(ProcessList* this); +void ProcessList_updateDisplayList(ProcessList* this); ProcessField ProcessList_keyAt(const ProcessList* this, int at); -- cgit v1.2.3