mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Emit window-layout-changed on swap-pane, from George Nachman.
This commit is contained in:
		@@ -135,6 +135,9 @@ cmd_swap_pane_exec(struct cmd *self, struct cmdq_item *item)
 | 
			
		||||
	}
 | 
			
		||||
	server_redraw_window(src_w);
 | 
			
		||||
	server_redraw_window(dst_w);
 | 
			
		||||
	notify_window("window-layout-changed", src_w);
 | 
			
		||||
	if (src_w != dst_w)
 | 
			
		||||
		notify_window("window-layout-changed", dst_w);
 | 
			
		||||
 | 
			
		||||
out:
 | 
			
		||||
	if (window_pop_zoom(src_w))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user