mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	surface: don't reset frame_callback_list on resize
This commit is contained in:
		
							parent
							
								
									2e7d886254
								
							
						
					
					
						commit
						f0404f6d75
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -170,12 +170,6 @@ static bool wlr_surface_update_size(struct wlr_surface *surface,
 | 
			
		|||
		height = tmp;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	struct wlr_frame_callback *cb, *tmp;
 | 
			
		||||
	wl_list_for_each_safe(cb, tmp, &state->frame_callback_list, link) {
 | 
			
		||||
		wl_resource_destroy(cb->resource);
 | 
			
		||||
	}
 | 
			
		||||
	wl_list_init(&state->frame_callback_list);
 | 
			
		||||
 | 
			
		||||
	bool update_damage = false;
 | 
			
		||||
	if (width != state->width || height != state->height) {
 | 
			
		||||
		// Damage the whole surface on resize
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue