projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
signal.c
diff --git
a/signal.c
b/signal.c
index
e641737
..
05be6b0
100644
(file)
--- a/
signal.c
+++ b/
signal.c
@@
-16,6
+16,10
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
* 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"
#include "mutt.h"
#include "mutt_curses.h"
@@
-75,6
+79,11
@@
RETSIGTYPE sighandler (int sig)
if (!IsEndwin)
refresh ();
mutt_curs_set (-1);
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)
break;
#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM)