summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/curses/gui-curses-main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c
index 12b400cca..bb36c64fa 100644
--- a/src/gui/curses/gui-curses-main.c
+++ b/src/gui/curses/gui-curses-main.c
@@ -409,7 +409,10 @@ gui_main_loop ()
/* catch SIGWINCH signal: redraw screen */
if (!weechat_headless)
+ {
+ gui_signal_sigwinch_received = 1;
signal_catch (SIGWINCH, &gui_main_signal_sigwinch);
+ }
/* hook stdin (read keyboard) */
if (weechat_headless)