summaryrefslogtreecommitdiff
path: root/hw/xnest
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-08-07 15:40:13 -0400
committerAdam Jackson <ajax@redhat.com>2018-09-28 16:25:17 -0400
commit03b2125005b1c8d4eb62a4173a74458bbe72807b (patch)
tree6f5cf65b4d9c53e9e330d19464f29f774b4a0c5f /hw/xnest
parenta23eba2a91024d27da45e5aee1f4215f7ec2ae82 (diff)
dix: Remove LegalModifier()
This hasn't done anything besides return TRUE in a long long time. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xnest')
-rw-r--r--hw/xnest/Keyboard.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/xnest/Keyboard.c b/hw/xnest/Keyboard.c
index 85deabab4..c7af77e9b 100644
--- a/hw/xnest/Keyboard.c
+++ b/hw/xnest/Keyboard.c
@@ -217,12 +217,6 @@ xnestKeyboardProc(DeviceIntPtr pDev, int onoff)
return Success;
}
-Bool
-LegalModifier(unsigned int key, DeviceIntPtr pDev)
-{
- return TRUE;
-}
-
void
xnestUpdateModifierState(unsigned int state)
{