diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-03-17 22:35:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-03-17 22:35:09 +0000 |
commit | 46210344a62b079ff61435b978da41a0f92caf3a (patch) | |
tree | db1d29f00e52472ad2e2d200cc583845ad8a5e12 /server-fn.c | |
parent | 4f480c901de715a2fa0ec450c57d4881d662413f (diff) |
Add notify hooks for various events, the functions are currently empty
stubs but will be filled in for control mode later. From George Nachman.
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 2 |
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); } |