mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										4
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								window.c
									
									
									
									
									
								
							@@ -945,7 +945,7 @@ window_pane_alternate_on(struct window_pane *wp, struct grid_cell *gc,
 | 
			
		||||
 | 
			
		||||
	if (wp->saved_grid != NULL)
 | 
			
		||||
		return;
 | 
			
		||||
	if (!options_get_number(wp->window->options, "alternate-screen"))
 | 
			
		||||
	if (!options_get_number(wp->options, "alternate-screen"))
 | 
			
		||||
		return;
 | 
			
		||||
	sx = screen_size_x(s);
 | 
			
		||||
	sy = screen_size_y(s);
 | 
			
		||||
@@ -973,7 +973,7 @@ window_pane_alternate_off(struct window_pane *wp, struct grid_cell *gc,
 | 
			
		||||
	struct screen	*s = &wp->base;
 | 
			
		||||
	u_int		 sx, sy;
 | 
			
		||||
 | 
			
		||||
	if (!options_get_number(wp->window->options, "alternate-screen"))
 | 
			
		||||
	if (!options_get_number(wp->options, "alternate-screen"))
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user