summaryrefslogtreecommitdiffstats
path: root/browser.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-03-26 18:31:41 -0700
committerKevin McCarthy <kevin@8t8.us>2017-03-26 18:31:41 -0700
commit95070a7016d7334ac1d4e664e42afcfdcd96dc1f (patch)
treefb0658eb45aa00d93cbe249d365e54b1a7a72827 /browser.c
parent5af1b825aef689984504a847c8589b2593a08d17 (diff)
Set refresh when popping the menu stack.
This removes the need for the OPTNEEDREDRAW option and MAYBE_REDRAW macro previously used to communicate back the need to refresh after exiting a menu. Remove the redraw parameter from ci_bounce_message() and mix_make_chain() which served the same purpose.
Diffstat (limited to 'browser.c')
-rw-r--r--browser.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/browser.c b/browser.c
index 83edc5f3..03b1fc34 100644
--- a/browser.c
+++ b/browser.c
@@ -954,7 +954,6 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num
menu->current = 0;
menu->top = 0;
init_menu (&state, menu, title, sizeof (title), buffy);
- MAYBE_REDRAW (menu->redraw);
}
/* else leave error on screen */
break;
@@ -977,7 +976,6 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num
menu->current = 0;
menu->top = 0;
init_menu (&state, menu, title, sizeof (title), buffy);
- MAYBE_REDRAW (menu->redraw);
}
}
break;
@@ -1015,7 +1013,6 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num
state.entrylen--;
mutt_message _("Mailbox deleted.");
init_menu (&state, menu, title, sizeof (title), buffy);
- MAYBE_REDRAW (menu->redraw);
}
}
else
@@ -1094,7 +1091,6 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num
mutt_perror (buf);
}
}
- MAYBE_REDRAW (menu->redraw);
break;
case OP_ENTER_MASK:
@@ -1160,7 +1156,6 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num
}
}
}
- MAYBE_REDRAW (menu->redraw);
break;
case OP_SORT:
@@ -1246,7 +1241,6 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num
destroy_state (&state);
goto bail;
}
- MAYBE_REDRAW (menu->redraw);
break;
case OP_BROWSER_VIEW_FILE: