diff options
author | sabetts <sabetts> | 2000-08-27 21:59:45 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2000-08-27 21:59:45 +0000 |
commit | b4edb12f736259afb5df4230c1901e695451427e (patch) | |
tree | 60c8a50a42f2dc4f2d527f0181a1c61d03b3361c /list.c | |
parent | e1306eafc699df1358faa9860ebf2fc6440274dd (diff) | |
download | ratpoison-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.
Diffstat (limited to 'list.c')
-rw-r--r-- | list.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |