summaryrefslogtreecommitdiff
path: root/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'list.c')
-rw-r--r--list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/list.c b/list.c
index 51cefd3..ee04b34 100644
--- a/list.c
+++ b/list.c
@@ -44,6 +44,8 @@ add_to_window_list (screen_info *s, Window w)
new_window->prev = NULL;
new_window->state = STATE_UNMAPPED;
new_window->number = -1;
+ new_window->named = 0;
+
if ((new_window->name = malloc (strlen ("Unnamed") + 1)) == NULL)
{
fprintf (stderr, "list.c:add_to_window_list():Out of memory.\n");