Fix a couple of problems with grouped sessions reported by danh: redraw

properly and choose the correct last window after a window is killed.
This commit is contained in:
Nicholas Marriott
2009-12-22 10:20:08 +00:00
parent 19ea306606
commit 4feee126b8
2 changed files with 6 additions and 8 deletions

View File

@ -250,10 +250,8 @@ server_kill_window(struct window *w)
if (session_detach(s, wl))
server_destroy_session_group(s);
else {
server_redraw_session(s);
server_status_session_group(s);
}
else
server_redraw_session_group(s);
}
}