kdrive:remove Change{Keyboard,Pointer}Device

This was removed in the DIX, so just axe it.
This commit is contained in:
Daniel Stone 2006-11-02 00:46:33 +02:00 committed by Daniel Stone
parent d9a5e3e964
commit a2d6242106

View File

@ -2269,21 +2269,6 @@ ProcessInputEvents ()
KdCheckLock ();
}
/* We don't want to allow people to change the core devices, because the DIX
* does magical repeating goodness for us. */
int
ChangeKeyboardDevice(DeviceIntPtr pOldDev, DeviceIntPtr pDev)
{
return BadDevice;
}
int
ChangePointerDevice(DeviceIntPtr pOldDev, DeviceIntPtr pDev, unsigned char x,
unsigned char y)
{
return BadDevice;
}
/* FIXME use XSECURITY to work out whether the client should be allowed to
* open and close. */
void