mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	types/wlr_tablet_tool: add base wlr_input_device
wlr_tablet_tool owns its wlr_input_device. It will be initialized when the tablet tool is initialized, and finished when the tablet tool is destroyed.
This commit is contained in:
		
							parent
							
								
									a662743610
								
							
						
					
					
						commit
						7dfee50350
					
				
					 5 changed files with 16 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@ struct wlr_tablet_impl {
 | 
			
		|||
};
 | 
			
		||||
 | 
			
		||||
void wlr_tablet_init(struct wlr_tablet *tablet,
 | 
			
		||||
		const struct wlr_tablet_impl *impl);
 | 
			
		||||
	const struct wlr_tablet_impl *impl, const char *name);
 | 
			
		||||
void wlr_tablet_destroy(struct wlr_tablet *tablet);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,6 +60,8 @@ struct wlr_tablet_tool {
 | 
			
		|||
struct wlr_tablet_impl;
 | 
			
		||||
 | 
			
		||||
struct wlr_tablet {
 | 
			
		||||
	struct wlr_input_device base;
 | 
			
		||||
 | 
			
		||||
	const struct wlr_tablet_impl *impl;
 | 
			
		||||
 | 
			
		||||
	struct {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue