summaryrefslogtreecommitdiff
path: root/src/gui/gui-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-common.c')
-rw-r--r--src/gui/gui-common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c
index 7dc7fbdb4..04ff320c2 100644
--- a/src/gui/gui-common.c
+++ b/src/gui/gui-common.c
@@ -39,7 +39,9 @@
#include "../irc/irc.h"
-int gui_ready; /* = 1 if GUI is initialized */
+int gui_init_ok = 0; /* = 1 if GUI is initialized */
+int gui_ok = 0; /* = 1 if GUI is ok */
+ /* (0 when term size too small) */
t_gui_window *gui_windows = NULL; /* pointer to first window */
t_gui_window *last_gui_window = NULL; /* pointer to last window */