summaryrefslogtreecommitdiffstats
path: root/ScreenManager.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-02-08 16:38:49 +0100
committerBenBE <BenBE@geshi.org>2021-03-04 23:57:45 +0100
commitb862e36ee7ce8954b120eab4fc895c9dc7c7f3db (patch)
tree8c1e69dc1f821c05c3f3b172ebe1a82ce4a83845 /ScreenManager.c
parent2d1042adb382aa95456beff31b40abb7196567a0 (diff)
Separate data-update and drawing of header
Diffstat (limited to 'ScreenManager.c')
-rw-r--r--ScreenManager.c2
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);

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