diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-03-03 19:56:39 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-03-03 20:06:14 +0100 |
commit | 59a150e8d7f1e50d101d191448432a4424101c57 (patch) | |
tree | f0679c7ef0b658769b66ed80ca560e2401bc0855 /Action.c | |
parent | 2328e52403dfa52d122a9f7ccbd365beaedb8c9f (diff) |
Follow followed process when switching thread visibilities
Do not stop following a process when switching the visibility of
userland or kernel threads.
Related: #557
Diffstat (limited to 'Action.c')
-rw-r--r-- | Action.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -206,12 +206,12 @@ static Htop_Reaction actionSortByTime(State* st) { static Htop_Reaction actionToggleKernelThreads(State* st) { st->settings->hideKernelThreads = !st->settings->hideKernelThreads; - return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS; + return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING; } static Htop_Reaction actionToggleUserlandThreads(State* st) { st->settings->hideUserlandThreads = !st->settings->hideUserlandThreads; - return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS; + return HTOP_RECALCULATE | HTOP_SAVE_SETTINGS | HTOP_KEEP_FOLLOWING; } static Htop_Reaction actionToggleProgramPath(State* st) { |