mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Move session-create hook out of session_create so it works with grouped sessions.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user