diff options
Diffstat (limited to 'hw/dmx')
-rw-r--r-- | hw/dmx/dmxinput.c | 9 | ||||
-rw-r--r-- | hw/dmx/doc/dmx.xml | 10 |
2 files changed, 0 insertions, 19 deletions
diff --git a/hw/dmx/dmxinput.c b/hw/dmx/dmxinput.c index d201034c6..c099cf18d 100644 --- a/hw/dmx/dmxinput.c +++ b/hw/dmx/dmxinput.c @@ -50,15 +50,6 @@ #include "input.h" #include "mi.h" -/** Returns TRUE if the key is a valid modifier. For PC-class - * keyboards, all keys can be used as modifiers, so return TRUE - * always. */ -Bool -LegalModifier(unsigned int key, DeviceIntPtr pDev) -{ - return TRUE; -} - /** Called from dix/main.c on each server generation to initialize * inputs. All the work is done in dmxInputInit. \see * dmxInputInit() */ diff --git a/hw/dmx/doc/dmx.xml b/hw/dmx/doc/dmx.xml index f10cf79dc..1ee748440 100644 --- a/hw/dmx/doc/dmx.xml +++ b/hw/dmx/doc/dmx.xml @@ -1077,16 +1077,6 @@ for the device when it was registered/initialized. </sect3> -<sect3> -<title>LegalModifier()</title> -<!-- dmx/dmxinput.c - currently returns TRUE --> -<para>LegalModifier() is a required DDX function that can be used to -restrict which keys may be modifier keys. This seems to be present for -historical reasons, so this function should simply return TRUE -unconditionally. -</para> - -</sect3> </sect2> <sect2> |