mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Fix pointer example for wayland backend
This commit is contained in:
		
							parent
							
								
									4ca872c914
								
							
						
					
					
						commit
						a9547af358
					
				
					 3 changed files with 22 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -83,6 +83,8 @@ struct compositor_state {
 | 
			
		|||
			enum wlr_key_state key_state);
 | 
			
		||||
	void (*pointer_motion_cb)(struct pointer_state *s,
 | 
			
		||||
			double d_x, double d_y);
 | 
			
		||||
	void (*pointer_motion_absolute_cb)(struct pointer_state *s,
 | 
			
		||||
			double x, double y);
 | 
			
		||||
	void (*pointer_button_cb)(struct pointer_state *s,
 | 
			
		||||
			uint32_t button, enum wlr_button_state state);
 | 
			
		||||
	void (*pointer_axis_cb)(struct pointer_state *s,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue