mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Refactor state control variables.
This commit is contained in:
@ -98,10 +98,10 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) {
|
||||
ProcessList_printHeader(this->state->pl, Panel_getHeader(super));
|
||||
}
|
||||
if (reaction & HTOP_REFRESH) {
|
||||
result |= REFRESH;
|
||||
result |= REDRAW;
|
||||
}
|
||||
if (reaction & HTOP_RECALCULATE) {
|
||||
result |= RECALCULATE;
|
||||
result |= RESCAN;
|
||||
}
|
||||
if (reaction & HTOP_SAVE_SETTINGS) {
|
||||
this->state->settings->changed = true;
|
||||
|
Reference in New Issue
Block a user