dix: the default axis mode is Relative, not "0".
Yay for readability. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
This commit is contained in:
		
							parent
							
								
									db0d3d4e57
								
							
						
					
					
						commit
						868bf3de47
					
				| 
						 | 
				
			
			@ -1546,7 +1546,7 @@ InitPointerDeviceStruct(DevicePtr device, CARD8 *map, int numButtons, Atom* btn_
 | 
			
		|||
 | 
			
		||||
    return(InitButtonClassDeviceStruct(dev, numButtons, btn_labels, map) &&
 | 
			
		||||
	   InitValuatorClassDeviceStruct(dev, numAxes, axes_labels,
 | 
			
		||||
					 numMotionEvents, 0) &&
 | 
			
		||||
					 numMotionEvents, Relative) &&
 | 
			
		||||
	   InitPtrFeedbackClassDeviceStruct(dev, controlProc));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue