mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Use correct size for screen when popup is created without borders.
This commit is contained in:
		
							
								
								
									
										2
									
								
								popup.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								popup.c
									
									
									
									
									
								
							@@ -690,7 +690,7 @@ popup_display(int flags, enum box_lines lines, struct cmdq_item *item, u_int px,
 | 
			
		||||
	}
 | 
			
		||||
	pd->border_cell.attr = 0;
 | 
			
		||||
 | 
			
		||||
	screen_init(&pd->s, sx - 2, sy - 2, 0);
 | 
			
		||||
	screen_init(&pd->s, jx, jy, 0);
 | 
			
		||||
	colour_palette_init(&pd->palette);
 | 
			
		||||
	colour_palette_from_option(&pd->palette, global_w_options);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user