mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Merge pull request #388 from emersion/fix-wayland-pointer-axis
Fix pointer axis delta in Wayland backend
This commit is contained in:
		
						commit
						74a45ee776
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -90,7 +90,7 @@ static void pointer_handle_axis(void *data, struct wl_pointer *wl_pointer,
 | 
			
		|||
 | 
			
		||||
	struct wlr_event_pointer_axis wlr_event;
 | 
			
		||||
	wlr_event.device = dev;
 | 
			
		||||
	wlr_event.delta = value;
 | 
			
		||||
	wlr_event.delta = wl_fixed_to_double(value);
 | 
			
		||||
	wlr_event.orientation = axis;
 | 
			
		||||
	wlr_event.time_msec = time;
 | 
			
		||||
	wlr_event.source = wlr_wl_pointer->axis_source;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue