summaryrefslogtreecommitdiffstats
path: root/Action.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2023-02-14 11:51:54 +1100
committerNathan Scott <nathans@redhat.com>2023-05-08 09:17:42 +1000
commite4ebe18b67c366d367231a1123b057c82018cf5b (patch)
tree2b65f14a290fc0979776cd9da03093f793e9fc5d /Action.h
parent8a8df71f6f355fdaf748eb80bf8558c1bcbec937 (diff)
Drop references to 'Process' in generic screen code
Prepare the way for making screen tabs more generalised, able to cater to entities other than processes. 'actionTogglePauseProcessUpdate' -> 'actionTogglePauseUpdate' 'pauseProcessUpdate' -> 'pauseUpdate' 'hideProcessSelection' -> 'hideSelection' 'hideProcessSelection' -> 'hideSelection' Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Diffstat (limited to 'Action.h')
-rw-r--r--Action.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Action.h b/Action.h
index 09b68bd7..04d090f8 100644
--- a/Action.h
+++ b/Action.h
@@ -41,13 +41,13 @@ typedef struct State_ {
ProcessList* pl;
struct MainPanel_* mainPanel;
Header* header;
- bool pauseProcessUpdate;
- bool hideProcessSelection;
+ bool pauseUpdate;
+ bool hideSelection;
bool hideMeters;
} State;
static inline bool State_hideFunctionBar(const State* st) {
- return st->settings->hideFunctionBar == 2 || (st->settings->hideFunctionBar == 1 && st->hideProcessSelection);
+ return st->settings->hideFunctionBar == 2 || (st->settings->hideFunctionBar == 1 && st->hideSelection);
}
typedef Htop_Reaction (*Htop_Action)(State* st);

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