version 1.54, 2012/03/17 18:24:07 |
version 1.55, 2012/03/17 22:35:09 |
|
|
* Can't use session_detach as it will destroy session |
* Can't use session_detach as it will destroy session |
* if this makes it empty. |
* if this makes it empty. |
*/ |
*/ |
|
notify_window_unlinked(dst, dstwl->window); |
dstwl->flags &= ~WINLINK_ALERTFLAGS; |
dstwl->flags &= ~WINLINK_ALERTFLAGS; |
winlink_stack_remove(&dst->lastw, dstwl); |
winlink_stack_remove(&dst->lastw, dstwl); |
winlink_remove(&dst->windows, dstwl); |
winlink_remove(&dst->windows, dstwl); |
|
|
} else { |
} else { |
c->last_session = NULL; |
c->last_session = NULL; |
c->session = s_new; |
c->session = s_new; |
|
notify_attached_session_changed(c); |
session_update_activity(s_new); |
session_update_activity(s_new); |
server_redraw_client(c); |
server_redraw_client(c); |
} |
} |