summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-01-15 15:32:12 +1000
committerKeith Packard <keithp@keithp.com>2010-01-25 09:28:22 +1300
commitf37799c9712afb7769f369162b904d9ea2dbd608 (patch)
tree472408ec8769a755c86d911281b3c4f0e5dcec6f /xkb
parentc8076f317ee5044ed3cc21b097f8b1741af8e0f1 (diff)
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>
Diffstat (limited to 'xkb')
-rw-r--r--xkb/XKBMisc.c2
1 files changed, 1 insertions, 1 deletions
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<<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;