mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Initialize the size of new panes created by the even-* layout correctly;
reported by Andreas Kahari and Anton Lindqvist.
This commit is contained in:
		@@ -138,6 +138,8 @@ layout_set_even(struct window *w, enum layout_type type)
 | 
			
		||||
	TAILQ_FOREACH(wp, &w->panes, entry) {
 | 
			
		||||
		lcnew = layout_create_cell(lc);
 | 
			
		||||
		layout_make_leaf(lcnew, wp);
 | 
			
		||||
		lcnew->sx = w->sx;
 | 
			
		||||
		lcnew->sy = w->sy;
 | 
			
		||||
		TAILQ_INSERT_TAIL(&lc->cells, lcnew, entry);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user