mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-28 21:33:09 +00:00
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
2 changed files with 1 additions and 4 deletions
|
|
@ -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 a new issue