mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	rootston: remove repaint timer, listen for damage instead
This commit is contained in:
		
							parent
							
								
									a0f24b809e
								
							
						
					
					
						commit
						b296481007
					
				
					 2 changed files with 37 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -16,10 +16,11 @@ struct roots_output {
 | 
			
		|||
 | 
			
		||||
	struct timespec last_frame;
 | 
			
		||||
	pixman_region32_t damage, previous_damage;
 | 
			
		||||
	struct wl_event_source *repaint_timer;
 | 
			
		||||
	bool frame_scheduled;
 | 
			
		||||
 | 
			
		||||
	struct wl_listener frame;
 | 
			
		||||
	struct wl_listener mode;
 | 
			
		||||
	struct wl_listener damage_listener;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void output_add_notify(struct wl_listener *listener, void *data);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue