mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	wlr_scene: Apply source box translation
This commit is contained in:
		
							parent
							
								
									ceff381747
								
							
						
					
					
						commit
						99f55303aa
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -625,6 +625,7 @@ void wlr_scene_buffer_set_buffer_with_damage(struct wlr_scene_buffer *scene_buff
 | 
				
			||||||
		scene_buffer->transform, buffer->width, buffer->height);
 | 
							scene_buffer->transform, buffer->width, buffer->height);
 | 
				
			||||||
	pixman_region32_intersect_rect(&trans_damage, &trans_damage,
 | 
						pixman_region32_intersect_rect(&trans_damage, &trans_damage,
 | 
				
			||||||
		box.x, box.y, box.width, box.height);
 | 
							box.x, box.y, box.width, box.height);
 | 
				
			||||||
 | 
						pixman_region32_translate(&trans_damage, -box.x, -box.y);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	struct wlr_scene *scene = scene_node_get_root(&scene_buffer->node);
 | 
						struct wlr_scene *scene = scene_node_get_root(&scene_buffer->node);
 | 
				
			||||||
	struct wlr_scene_output *scene_output;
 | 
						struct wlr_scene_output *scene_output;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue