mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	touch: add frame event
This commit is contained in:
		
							parent
							
								
									a48e569d38
								
							
						
					
					
						commit
						84906a832f
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -22,6 +22,7 @@ struct wlr_touch {
 | 
				
			||||||
		struct wl_signal up; // struct wlr_event_touch_up
 | 
							struct wl_signal up; // struct wlr_event_touch_up
 | 
				
			||||||
		struct wl_signal motion; // struct wlr_event_touch_motion
 | 
							struct wl_signal motion; // struct wlr_event_touch_motion
 | 
				
			||||||
		struct wl_signal cancel; // struct wlr_event_touch_cancel
 | 
							struct wl_signal cancel; // struct wlr_event_touch_cancel
 | 
				
			||||||
 | 
							struct wl_signal frame;
 | 
				
			||||||
	} events;
 | 
						} events;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	void *data;
 | 
						void *data;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,6 +11,7 @@ void wlr_touch_init(struct wlr_touch *touch,
 | 
				
			||||||
	wl_signal_init(&touch->events.up);
 | 
						wl_signal_init(&touch->events.up);
 | 
				
			||||||
	wl_signal_init(&touch->events.motion);
 | 
						wl_signal_init(&touch->events.motion);
 | 
				
			||||||
	wl_signal_init(&touch->events.cancel);
 | 
						wl_signal_init(&touch->events.cancel);
 | 
				
			||||||
 | 
						wl_signal_init(&touch->events.frame);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void wlr_touch_destroy(struct wlr_touch *touch) {
 | 
					void wlr_touch_destroy(struct wlr_touch *touch) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue