mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	chase: let wlr_scene track damage again
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4253
This commit is contained in:
		
							parent
							
								
									d2579a0088
								
							
						
					
					
						commit
						6becc02ca4
					
				
					 2 changed files with 1 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -83,14 +83,6 @@ lab_wlr_scene_output_commit(struct wlr_scene_output *scene_output,
 | 
			
		|||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	 * FIXME: Remove the following line as soon as
 | 
			
		||||
	 * https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4253
 | 
			
		||||
	 * is merged. At that point wlr_scene handles damage tracking internally
 | 
			
		||||
	 * again.
 | 
			
		||||
	 */
 | 
			
		||||
	wlr_damage_ring_rotate(&scene_output->damage_ring);
 | 
			
		||||
 | 
			
		||||
	if (!wlr_box_empty(&additional_damage)) {
 | 
			
		||||
		wlr_damage_ring_add_box(&scene_output->damage_ring, &additional_damage);
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue