X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=signal.c;h=05be6b0619db65629a86da57017ec74783e206e0;hp=e64173709bf766d1f01ea32b37bea7b4b55de3e3;hb=690b892c671e252bb5187c9cab5246d3dcd16f4d;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/signal.c b/signal.c index e641737..05be6b0 100644 --- a/signal.c +++ b/signal.c @@ -16,6 +16,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include "mutt.h" #include "mutt_curses.h" @@ -75,6 +79,11 @@ RETSIGTYPE sighandler (int sig) if (!IsEndwin) refresh (); mutt_curs_set (-1); +#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM) + /* We don't receive SIGWINCH when suspended; however, no harm is done by + * just assuming we received one, and triggering the 'resize' anyway. */ + SigWinch = 1; +#endif break; #if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM)