diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-22 02:50:40 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-22 02:50:40 -0300 |
commit | 09c7152990b6fd269ac0a023e2093dcf041e2f9d (patch) | |
tree | 0919c831a5bc4c878a451d9f72d16394fe315fe7 /MainPanel.c | |
parent | 4e064e0db75f1c7fa51b8ae922bd8fe4483843fc (diff) |
Refactor state control variables.
Diffstat (limited to 'MainPanel.c')
-rw-r--r-- | MainPanel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MainPanel.c b/MainPanel.c index a63eb472..48855876 100644 --- a/MainPanel.c +++ b/MainPanel.c @@ -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; |