summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2022-09-21 13:00:44 +0800
committerKevin McCarthy <kevin@8t8.us>2022-10-08 12:37:58 -0700
commit619db54f5133cc788513737ca354f91ab54130fc (patch)
tree055a2364819e74791941678105543ec99862fc51
parent925a292766f32afadd1496871964348223657335 (diff)
Add SigWinch = 1 to mutt_endwin().
Since mutt_reflow_window() needs to be called on a resize, and it's possible for programs to block SIGWINCH being sent to Mutt, this is a fail-safe to ensure it's run. The previous commit moved SigWinch handling before refresh() in the menus, which should prevent double-refresh issues.
-rw-r--r--curs_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 38f58870..c997b6b0 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -995,6 +995,7 @@ void mutt_endwin (const char *msg)
*/
mutt_refresh();
endwin ();
+ SigWinch = 1;
}
if (msg && *msg)