mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	project wide: clean up event listeners on shutdown (part 2)
This commit is contained in:
		
							parent
							
								
									b8568c3258
								
							
						
					
					
						commit
						140e913c44
					
				
					 3 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1504,8 +1504,6 @@ cursor_init(struct seat *seat)
 | 
			
		|||
 | 
			
		||||
void cursor_finish(struct seat *seat)
 | 
			
		||||
{
 | 
			
		||||
	/* TODO: either clean up all the listeners or none of them */
 | 
			
		||||
 | 
			
		||||
	wl_list_remove(&seat->cursor_motion.link);
 | 
			
		||||
	wl_list_remove(&seat->cursor_motion_absolute.link);
 | 
			
		||||
	wl_list_remove(&seat->cursor_button.link);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue