diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-10-19 10:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-10-19 10:01:10 +0100 |
commit | 4c6eb6cc2f415544d81608109058690d88bd9db7 (patch) | |
tree | 071ac65af4032afdb942be9c54fdf2c001b0c2a4 | |
parent | 1fbb7f1a41c517fd37534eeb8223499a081df0aa (diff) | |
parent | bc27451e156c0a4af73d016ea04827710ea70d5b (diff) | |
download | rtmux-4c6eb6cc2f415544d81608109058690d88bd9db7.tar.gz rtmux-4c6eb6cc2f415544d81608109058690d88bd9db7.tar.bz2 rtmux-4c6eb6cc2f415544d81608109058690d88bd9db7.zip |
Merge branch 'obsd-master'
-rw-r--r-- | cmd-new-session.c | 1 | ||||
-rw-r--r-- | session.c | 1 |
2 files changed, 1 insertions, 1 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 @@ -168,7 +168,6 @@ session_create(const char *name, int argc, char **argv, const char *path, } log_debug("session %s created", s->name); - notify_session("session-created", s); return (s); } |