Merge branch 'obsd-master'

pull/615/head
Thomas Adam 2016-10-19 10:01:10 +01:00
commit 4c6eb6cc2f
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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);
}