mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	wlr_pointer_gestures_v1: init destroy signal
(cherry picked from commit dead0ebcc8)
			
			
This commit is contained in:
		
							parent
							
								
									9d6b95a5a8
								
							
						
					
					
						commit
						8c0d194539
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -424,6 +424,8 @@ struct wlr_pointer_gestures_v1 *wlr_pointer_gestures_v1_create(
 | 
			
		|||
		return NULL;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	wl_signal_init(&gestures->events.destroy);
 | 
			
		||||
 | 
			
		||||
	gestures->display_destroy.notify = handle_display_destroy;
 | 
			
		||||
	wl_display_add_destroy_listener(display, &gestures->display_destroy);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue