Skip to content

Commit

Permalink
vis: remove unnecessary status bar redraw
Browse files Browse the repository at this point in the history
There is no longer a need to explicitly redraw the window status
bar upon a mode change, it will happen anyway during the next UI
update.
  • Loading branch information
martanne committed Mar 16, 2017
1 parent 27fb221 commit ce4e53d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vis-modes.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ void mode_set(Vis *vis, Mode *new_mode) {
vis->mode = new_mode;
if (new_mode->enter)
new_mode->enter(vis, vis->mode_prev);
if (vis->event && vis->event->win_status)
vis->event->win_status(vis, vis->win);
}

void vis_mode_switch(Vis *vis, enum VisMode mode) {
Expand Down

0 comments on commit ce4e53d

Please sign in to comment.