aboutsummaryrefslogtreecommitdiff
path: root/cmd-new-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c1
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