mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		@@ -77,10 +77,10 @@ cmd_swap_window_exec(struct cmd *self, struct cmdq_item *item)
 | 
			
		||||
	wl_src->window = w_dst;
 | 
			
		||||
	TAILQ_INSERT_TAIL(&w_dst->winlinks, wl_src, wentry);
 | 
			
		||||
 | 
			
		||||
	if (!args_has(self->args, 'd')) {
 | 
			
		||||
		session_select(src, wl_src->idx);
 | 
			
		||||
	if (args_has(self->args, 'd')) {
 | 
			
		||||
		session_select(dst, wl_dst->idx);
 | 
			
		||||
		if (src != dst)
 | 
			
		||||
			session_select(dst, wl_dst->idx);
 | 
			
		||||
			session_select(src, wl_src->idx);
 | 
			
		||||
	}
 | 
			
		||||
	session_group_synchronize_from(src);
 | 
			
		||||
	server_redraw_session_group(src);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user