mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston: replace view_damage with view_apply_damage and view_damage_whole
This commit is contained in:
		
							parent
							
								
									7f5a538cb7
								
							
						
					
					
						commit
						96d6f34edd
					
				
					 7 changed files with 35 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -66,7 +66,8 @@ struct roots_view *desktop_view_at(struct roots_desktop *desktop, double lx,
 | 
			
		|||
void view_init(struct roots_view *view, struct roots_desktop *desktop);
 | 
			
		||||
void view_destroy(struct roots_view *view);
 | 
			
		||||
void view_activate(struct roots_view *view, bool activate);
 | 
			
		||||
void view_damage(struct roots_view *view);
 | 
			
		||||
void view_apply_damage(struct roots_view *view);
 | 
			
		||||
void view_damage_whole(struct roots_view *view);
 | 
			
		||||
void view_update_position(struct roots_view *view, double x, double y);
 | 
			
		||||
 | 
			
		||||
void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,6 +23,9 @@ struct roots_output {
 | 
			
		|||
void output_add_notify(struct wl_listener *listener, void *data);
 | 
			
		||||
void output_remove_notify(struct wl_listener *listener, void *data);
 | 
			
		||||
 | 
			
		||||
void output_damage_view(struct roots_output *output, struct roots_view *view);
 | 
			
		||||
void output_damage_whole_view(struct roots_output *output,
 | 
			
		||||
	struct roots_view *view);
 | 
			
		||||
void output_damage_from_view(struct roots_output *output,
 | 
			
		||||
	struct roots_view *view);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue