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 /cmd-attach-session.c | |
parent | 4f480c901de715a2fa0ec450c57d4881d662413f (diff) | |
download | rtmux-46210344a62b079ff61435b978da41a0f92caf3a.tar.gz rtmux-46210344a62b079ff61435b978da41a0f92caf3a.tar.bz2 rtmux-46210344a62b079ff61435b978da41a0f92caf3a.zip |
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 'cmd-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |