mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Log window and pane resizes.
This commit is contained in:
		
							
								
								
									
										2
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								window.c
									
									
									
									
									
								
							@@ -412,6 +412,7 @@ window_set_name(struct window *w, const char *new_name)
 | 
			
		||||
void
 | 
			
		||||
window_resize(struct window *w, u_int sx, u_int sy)
 | 
			
		||||
{
 | 
			
		||||
	log_debug("%s: @%u resize %ux%u", __func__, w->id, sx, sy);
 | 
			
		||||
	w->sx = sx;
 | 
			
		||||
	w->sy = sy;
 | 
			
		||||
}
 | 
			
		||||
@@ -923,6 +924,7 @@ window_pane_resize(struct window_pane *wp, u_int sx, u_int sy)
 | 
			
		||||
	wp->sx = sx;
 | 
			
		||||
	wp->sy = sy;
 | 
			
		||||
 | 
			
		||||
	log_debug("%s: %%%u resize %ux%u", __func__, wp->id, sx, sy);
 | 
			
		||||
	screen_resize(&wp->base, sx, sy, wp->saved_grid == NULL);
 | 
			
		||||
 | 
			
		||||
	wme = TAILQ_FIRST(&wp->modes);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user