Fix moving windows to nonexistent indexes when renumber-windows is

off. From Thomas Adam, reported by Daniel Levai and Theo Buehler.
This commit is contained in:
nicm
2015-04-21 21:24:49 +00:00
parent d1337053b6
commit 0e7219d437
2 changed files with 11 additions and 2 deletions

View File

@ -351,7 +351,6 @@ server_unlink_window(struct session *s, struct winlink *wl)
server_destroy_session_group(s);
else
server_redraw_session_group(s);
session_renumber_windows(s);
}
void