mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Set the active pane when respawning a window - fixes problems when respawning a
window with multiple panes.
This commit is contained in:
		@@ -81,6 +81,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
	layout_init(w);
 | 
						layout_init(w);
 | 
				
			||||||
	screen_reinit(&wp->base);
 | 
						screen_reinit(&wp->base);
 | 
				
			||||||
 | 
						window_set_active_pane(w, wp);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	recalculate_sizes();
 | 
						recalculate_sizes();
 | 
				
			||||||
	server_redraw_window(w);
 | 
						server_redraw_window(w);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user