mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Always format real layout even when zoomed.
This commit is contained in:
		
							
								
								
									
										5
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								format.c
									
									
									
									
									
								
							@@ -577,7 +577,10 @@ format_defaults_window(struct format_tree *ft, struct window *w)
 | 
			
		||||
 | 
			
		||||
	ft->w = w;
 | 
			
		||||
 | 
			
		||||
	layout = layout_dump(w);
 | 
			
		||||
	if (w->saved_layout_root != NULL)
 | 
			
		||||
		layout = layout_dump(w->saved_layout_root);
 | 
			
		||||
	else
 | 
			
		||||
		layout = layout_dump(w->layout_root);
 | 
			
		||||
 | 
			
		||||
	format_add(ft, "window_id", "@%u", w->id);
 | 
			
		||||
	format_add(ft, "window_name", "%s", w->name);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user