aboutsummaryrefslogtreecommitdiff
path: root/server-fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'server-fn.c')
-rw-r--r--server-fn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server-fn.c b/server-fn.c
index 66298571..f6b1cb7a 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -293,6 +293,7 @@ server_link_window(struct session *src, struct winlink *srcwl,
* Can't use session_detach as it will destroy session
* if this makes it empty.
*/
+ notify_window_unlinked(dst, dstwl->window);
dstwl->flags &= ~WINLINK_ALERTFLAGS;
winlink_stack_remove(&dst->lastw, dstwl);
winlink_remove(&dst->windows, dstwl);
@@ -419,6 +420,7 @@ server_destroy_session(struct session *s)
} else {
c->last_session = NULL;
c->session = s_new;
+ notify_attached_session_changed(c);
session_update_activity(s_new);
server_redraw_client(c);
}