summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/InputXKB.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/xserver/hw/vnc/InputXKB.c')
-rw-r--r--unix/xserver/hw/vnc/InputXKB.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/unix/xserver/hw/vnc/InputXKB.c b/unix/xserver/hw/vnc/InputXKB.c
index 2a3f7afb..a9bd11d1 100644
--- a/unix/xserver/hw/vnc/InputXKB.c
+++ b/unix/xserver/hw/vnc/InputXKB.c
@@ -485,23 +485,6 @@ KeyCode vncKeysymToKeycode(KeySym keysym, unsigned state, unsigned *new_state)
return 0;
}
-int vncIsLockModifier(KeyCode keycode, unsigned state)
-{
- XkbDescPtr xkb;
- XkbAction *act;
-
- xkb = GetMaster(vncKeyboardDev, KEYBOARD_OR_FLOAT)->key->xkbInfo->desc;
-
- act = XkbKeyActionPtr(xkb, keycode, state);
- if (act == NULL)
- return 0;
-
- if (act->type != XkbSA_LockMods)
- return 0;
-
- return 1;
-}
-
int vncIsAffectedByNumLock(KeyCode keycode)
{
unsigned state;