From 46210344a62b079ff61435b978da41a0f92caf3a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 17 Mar 2012 22:35:09 +0000 Subject: Add notify hooks for various events, the functions are currently empty stubs but will be filled in for control mode later. From George Nachman. --- cmd-attach-session.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd-attach-session.c') diff --git a/cmd-attach-session.c b/cmd-attach-session.c index 18e06323..bdf3568e 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -74,6 +74,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx) } ctx->curclient->session = s; + notify_attached_session_changed(ctx->curclient); session_update_activity(s); server_redraw_client(ctx->curclient); s->curw->flags &= ~WINLINK_ALERTFLAGS; @@ -98,6 +99,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx) server_write_session(s, MSG_DETACH, NULL, 0); ctx->cmdclient->session = s; + notify_attached_session_changed(ctx->cmdclient); session_update_activity(s); server_write_client(ctx->cmdclient, MSG_READY, NULL, 0); -- cgit v1.2.3