summaryrefslogtreecommitdiff
path: root/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'list.c')
-rw-r--r--list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/list.c b/list.c
index f772033..3398ae7 100644
--- a/list.c
+++ b/list.c
@@ -40,6 +40,7 @@ add_to_window_list (screen_info *s, Window w)
new_window->scr = s;
new_window->last_access = 0;
new_window->prev = NULL;
+ new_window->state = STATE_UNMAPPED;
if ((new_window->name = malloc (strlen ("Unnamed") + 1)) == NULL)
{
fprintf (stderr, "list.c:add_to_window_list():Out of memory.\n");