diff options
author | nicm <nicm> | 2015-12-16 21:50:37 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-12-16 21:50:37 +0000 |
commit | 021c64310daa4ae4c4e8af08f17c994f21237758 (patch) | |
tree | 7f0556b343bba058dec19c87c8f52f215cdbd2eb /cmd-attach-session.c | |
parent | 8eb1a7d5dc8d66ca7d17c72e4d8d0e58d6fd2824 (diff) | |
download | rtmux-021c64310daa4ae4c4e8af08f17c994f21237758.tar.gz rtmux-021c64310daa4ae4c4e8af08f17c994f21237758.tar.bz2 rtmux-021c64310daa4ae4c4e8af08f17c994f21237758.zip |
Add infrastructure to work out the best target given a pane or window
alone and use it to add pane_died and pane_exited hooks.
Diffstat (limited to 'cmd-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index 586863aa..4d8a75f8 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -144,7 +144,7 @@ cmd_attach_session(struct cmd_q *cmdq, int dflag, int rflag, const char *cflag, if (~c->flags & CLIENT_CONTROL) proc_send(c->peer, MSG_READY, -1, NULL, 0); - hooks_run(c->session->hooks, c, "client-attached"); + hooks_run(c->session->hooks, c, NULL, "client-attached"); cmdq->client_exit = 0; } recalculate_sizes(); |