mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	interface/wlr_tablet_tool: rework destroy sequence
The destroy callback in wlr_tablet_tool_impl has been removed. The function `wlr_tablet_tool_finish` has been introduced to clean up the resources owned by a wlr_tablet_tool. `wlr_input_device_destroy` no longer destroys the wlr_tablet_tool, attempting to destroy a wlr_tablet_tool will result in a no-op. The field `name` has been added to the wlr_tablet_tool_impl to be able to identify a given wlr_tablet_tool device.
This commit is contained in:
		
							parent
							
								
									a5b032cb1e
								
							
						
					
					
						commit
						8d3cb94b41
					
				
					 8 changed files with 34 additions and 41 deletions
				
			
		| 
						 | 
				
			
			@ -108,6 +108,7 @@ void handle_touch_frame(struct libinput_event *event,
 | 
			
		|||
	struct wlr_touch *touch);
 | 
			
		||||
 | 
			
		||||
void init_device_tablet(struct wlr_libinput_input_device *dev);
 | 
			
		||||
void finish_device_tablet(struct wlr_libinput_input_device *dev);
 | 
			
		||||
struct wlr_libinput_input_device *device_from_tablet(
 | 
			
		||||
	struct wlr_tablet *tablet);
 | 
			
		||||
void handle_tablet_tool_axis(struct libinput_event *event,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue