From f37799c9712afb7769f369162b904d9ea2dbd608 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 15 Jan 2010 15:32:12 +1000 Subject: [PATCH] xkb: remove IsKeypadKey define, only used in two places. Signed-off-by: Peter Hutterer Reviewed-by: Fernando Carrijo Signed-off-by: Keith Packard --- include/xkbsrv.h | 3 --- xkb/XKBMisc.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/xkbsrv.h b/include/xkbsrv.h index af8df2fb8..ed3779a21 100644 --- a/include/xkbsrv.h +++ b/include/xkbsrv.h @@ -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 diff --git a/xkb/XKBMisc.c b/xkb/XKBMisc.c index 55def7c62..c1a17c082 100644 --- a/xkb/XKBMisc.c +++ b/xkb/XKBMisc.c @@ -175,7 +175,7 @@ BOOL replicated = FALSE; } } if (((protected&(1<