summaryrefslogtreecommitdiffstats
path: root/Action.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-09-09 19:13:54 +0200
committerBenny Baumann <BenBE@geshi.org>2023-09-09 19:13:54 +0200
commit8d290c44b2e8a163ed9762efcd5b0f1e5243658d (patch)
tree729a64b5cc1fa6a6a28fef98eaa172aade4b59b1 /Action.c
parentcbf075d27b51a1d90678ea0b5f9d0d353810ebe8 (diff)
Fix compilation issue in Action.c
Accidentally introduced by merging #1254 Caused by refactor in #1294 Fixes #1300
Diffstat (limited to 'Action.c')
-rw-r--r--Action.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Action.c b/Action.c
index 43bb5a62..2e2a3f26 100644
--- a/Action.c
+++ b/Action.c
@@ -231,7 +231,8 @@ static Htop_Reaction actionToggleKernelThreads(State* st) {
Settings* settings = st->host->settings;
settings->hideKernelThreads = !settings->hideKernelThreads;
settings->lastUpdate++;
- ProcessList_scan(st->host->pl); // needed to not have a visible delay showing wrong data
+
+ Machine_scanTables(st->host); // needed to not have a visible delay showing wrong data
return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING;
}
@@ -240,7 +241,8 @@ static Htop_Reaction actionToggleUserlandThreads(State* st) {
Settings* settings = st->host->settings;
settings->hideUserlandThreads = !settings->hideUserlandThreads;
settings->lastUpdate++;
- ProcessList_scan(st->host->pl); // needed to not have a visible delay showing wrong data
+
+ Machine_scanTables(st->host); // needed to not have a visible delay showing wrong data
return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING;
}

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