mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	ime: cleanup new_popup_surface listener when destroy
This commit is contained in:
		
							parent
							
								
									f4d581ef91
								
							
						
					
					
						commit
						baab35c469
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -375,6 +375,7 @@ handle_input_method_destroy(struct wl_listener *listener, void *data)
 | 
			
		|||
	assert(relay->input_method == data);
 | 
			
		||||
	wl_list_remove(&relay->input_method_commit.link);
 | 
			
		||||
	wl_list_remove(&relay->input_method_grab_keyboard.link);
 | 
			
		||||
	wl_list_remove(&relay->input_method_new_popup_surface.link);
 | 
			
		||||
	wl_list_remove(&relay->input_method_destroy.link);
 | 
			
		||||
	relay->input_method = NULL;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue