From eb6f8d569d2758d3dea8cffdaaa10955301ad763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Fri, 1 Jan 2021 22:03:30 +0100 Subject: Action: drop resize callback The supervising ScreenManager will resize all Panels --- Action.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Action.c') diff --git a/Action.c b/Action.c index dd12e297..32cea103 100644 --- a/Action.c +++ b/Action.c @@ -189,12 +189,6 @@ static Htop_Reaction actionSetSortColumn(State* st) { return reaction | HTOP_REFRESH | HTOP_REDRAW_BAR | HTOP_UPDATE_PANELHDR; } -static Htop_Reaction actionResize(State* st) { - clear(); - Panel_resize(st->panel, COLS, LINES - (st->panel->y) - 1); - return HTOP_REDRAW_BAR; -} - static Htop_Reaction actionSortByPID(State* st) { return Action_setSortKey(st->settings, PID); } @@ -682,5 +676,4 @@ void Action_setBindings(Htop_Action* keys) { keys[KEY_F(10)] = actionQuit; keys[KEY_F(18)] = actionExpandCollapseOrSortColumn; keys[KEY_RECLICK] = actionExpandOrCollapse; - keys[KEY_RESIZE] = actionResize; } -- cgit v1.2.3