From b4edb12f736259afb5df4230c1901e695451427e Mon Sep 17 00:00:00 2001 From: sabetts Date: Sun, 27 Aug 2000 21:59:45 +0000 Subject: in add_to_window_list new_window->state was not being set, causing ratpoison to wrongly map jump to windows that were not mappped. --- list.c | 1 + 1 file changed, 1 insertion(+) (limited to 'list.c') 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"); -- cgit v1.2.3