summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-08-27 21:59:45 +0000
committersabetts <sabetts>2000-08-27 21:59:45 +0000
commitb4edb12f736259afb5df4230c1901e695451427e (patch)
tree60c8a50a42f2dc4f2d527f0181a1c61d03b3361c
parente1306eafc699df1358faa9860ebf2fc6440274dd (diff)
downloadratpoison-b4edb12f736259afb5df4230c1901e695451427e.zip
in add_to_window_list new_window->state was not being set, causing
ratpoison to wrongly map jump to windows that were not mappped.
-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");