kdrive: Hardcode a different wrong value for number of mouse buttons
This should really come from the input driver directly, but, kdrive.
This commit is contained in:
		
							parent
							
								
									f3f6ea89aa
								
							
						
					
					
						commit
						3eb52de7f2
					
				| 
						 | 
				
			
			@ -1292,7 +1292,7 @@ KdParsePointer (char *arg)
 | 
			
		|||
        return NULL;
 | 
			
		||||
    pi->emulateMiddleButton = kdEmulateMiddleButton;
 | 
			
		||||
    pi->transformCoordinates = !kdRawPointerCoordinates;
 | 
			
		||||
    pi->nButtons = 3;
 | 
			
		||||
    pi->nButtons = 5; /* XXX should not be hardcoded */
 | 
			
		||||
    pi->inputClass = KD_MOUSE;
 | 
			
		||||
 | 
			
		||||
    if (!arg)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue