about summary refs log tree commit diff stats
path: root/src/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.c')
-rw-r--r--src/windows.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/windows.c b/src/windows.c
index 64a18bd6..f75c0bb9 100644
--- a/src/windows.c
+++ b/src/windows.c
@@ -166,6 +166,19 @@ ui_load_colours(void)
     }
 }
 
+gboolean
+ui_windows_full(void)
+{
+    int i;
+    for (i = 1; i < NUM_WINS; i++) {
+        if (windows[i] == NULL) {
+            return FALSE;
+        }
+    }
+
+    return TRUE;
+}
+
 void
 ui_show_typing(const char * const from)
 {