xkb: remove IsKeypadKey define, only used in two places.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
		
							parent
							
								
									c8076f317e
								
							
						
					
					
						commit
						f37799c971
					
				| 
						 | 
				
			
			@ -310,9 +310,6 @@ extern	_X_EXPORT int	DeviceButtonPress,DeviceButtonRelease;
 | 
			
		|||
#define	_XkbIsPressEvent(t)	(((t)==KeyPress)||((t)==DeviceKeyPress))
 | 
			
		||||
#define	_XkbIsReleaseEvent(t)	(((t)==KeyRelease)||((t)==DeviceKeyRelease))
 | 
			
		||||
 | 
			
		||||
#undef	IsKeypadKey
 | 
			
		||||
#define	IsKeypadKey(s)		XkbKSIsKeypad(s)
 | 
			
		||||
 | 
			
		||||
#define	Status		int
 | 
			
		||||
 | 
			
		||||
#ifndef True
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -175,7 +175,7 @@ BOOL		replicated = FALSE;
 | 
			
		|||
	    }
 | 
			
		||||
	}
 | 
			
		||||
	if (((protected&(1<<i))==0)&&(types_inout[i]==XkbTwoLevelIndex)) {
 | 
			
		||||
	    if (IsKeypadKey(syms[0])||IsKeypadKey(syms[1]))
 | 
			
		||||
	    if (XkbKSIsKeypad(syms[0])||XkbKSIsKeypad(syms[1]))
 | 
			
		||||
		types_inout[i]= XkbKeypadIndex;
 | 
			
		||||
	    else {
 | 
			
		||||
		KeySym upper,lower;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue