mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Schedule a frame even if damage is empty
This commit is contained in:
		
							parent
							
								
									5b72e8606c
								
							
						
					
					
						commit
						51eee3aecc
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1066,6 +1066,8 @@ static void damage_surface_iterator(struct wlr_surface *surface, int sx, int sy,
 | 
			
		|||
		wlr_box_rotated_bounds(&box, rotation, &box);
 | 
			
		||||
		wlr_output_damage_add_box(output->damage, &box);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	wlr_output_schedule_frame(output->wlr_output);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void output_damage_surface(struct sway_output *output, double ox, double oy,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue