diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-02-08 16:38:49 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-03-04 23:57:45 +0100 |
commit | b862e36ee7ce8954b120eab4fc895c9dc7c7f3db (patch) | |
tree | 8c1e69dc1f821c05c3f3b172ebe1a82ce4a83845 /ScreenManager.c | |
parent | 2d1042adb382aa95456beff31b40abb7196567a0 (diff) |
Separate data-update and drawing of header
Diffstat (limited to 'ScreenManager.c')
-rw-r--r-- | ScreenManager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ScreenManager.c b/ScreenManager.c index af9592c2..c4fbfeee 100644 --- a/ScreenManager.c +++ b/ScreenManager.c @@ -105,6 +105,8 @@ static void checkRecalculation(ScreenManager* this, double* oldTime, int* sortTi if (*rescan) { *oldTime = newTime; + // always update header, especially to avoid gaps in graph meters + Header_updateData(this->header); ProcessList_scan(pl, this->state->pauseProcessUpdate); if (!this->state->pauseProcessUpdate && (*sortTimeout == 0 || this->settings->treeView)) { ProcessList_sort(pl); |