mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	backend/drm: destroy DRM connectors that disappear
This was lost during the refactoring. We were previously calling
wlr_output_destroy, which destroyed the connector as well.
Fixes: 248c7787c7 ("backend/drm: refactor wlr_output destruction")
			
			
This commit is contained in:
		
							parent
							
								
									f6fc4c2883
								
							
						
					
					
						commit
						85cf4b235d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1417,7 +1417,7 @@ void scan_drm_connectors(struct wlr_drm_backend *drm) {
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
		wlr_log(WLR_INFO, "'%s' disappeared", conn->name);
 | 
			
		||||
		disconnect_drm_connector(conn);
 | 
			
		||||
		destroy_drm_connector(conn);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	realloc_crtcs(drm);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue