diff options
author | nicm <nicm> | 2016-10-19 08:17:11 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-19 08:17:11 +0000 |
commit | bc27451e156c0a4af73d016ea04827710ea70d5b (patch) | |
tree | 0903c496d6b0c71219a78b111d93c47c6957fcab /cmd-new-session.c | |
parent | e0e9a54a325da2f5648fdb6f429f22a6c12a5fb3 (diff) | |
download | rtmux-bc27451e156c0a4af73d016ea04827710ea70d5b.tar.gz rtmux-bc27451e156c0a4af73d016ea04827710ea70d5b.tar.bz2 rtmux-bc27451e156c0a4af73d016ea04827710ea70d5b.zip |
Move session-create hook out of session_create so it works with grouped sessions.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r-- | cmd-new-session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c index ca0a1c17..1de2eb69 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -267,6 +267,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item) session_group_synchronize_to(s); session_select(s, RB_MIN(winlinks, &s->windows)->idx); } + notify_session("session-created", s); /* * Set the client to the new session. If a command client exists, it is |