mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	Only draw background if it's different from what's already there
This commit is contained in:
		
							parent
							
								
									71eca89356
								
							
						
					
					
						commit
						fb266a3207
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -772,6 +772,9 @@ terminal_draw_contents(struct terminal *terminal)
 | 
			
		|||
				}
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if (background == terminal->color_scheme->border)
 | 
			
		||||
				continue;
 | 
			
		||||
 | 
			
		||||
			terminal_set_color(terminal, cr, background);
 | 
			
		||||
			cairo_move_to(cr, side_margin + (col * extents.max_x_advance),
 | 
			
		||||
			      top_margin + (row * extents.height));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue