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-new-session.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd-new-session.c') diff --git a/cmd-new-session.c b/cmd-new-session.c index 5fb9e62c..d40b5095 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -244,6 +244,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx) if (old_s != NULL) ctx->cmdclient->last_session = old_s; ctx->cmdclient->session = s; + notify_attached_session_changed(ctx->cmdclient); session_update_activity(s); server_redraw_client(ctx->cmdclient); } else { @@ -251,6 +252,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx) if (old_s != NULL) ctx->curclient->last_session = old_s; ctx->curclient->session = s; + notify_attached_session_changed(ctx->curclient); session_update_activity(s); server_redraw_client(ctx->curclient); } -- cgit v1.2.3