From a2d6242106bb3a440faa9cad157e0120dbfa7b6e Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Thu, 2 Nov 2006 00:46:33 +0200 Subject: [PATCH] kdrive:remove Change{Keyboard,Pointer}Device This was removed in the DIX, so just axe it. --- hw/kdrive/src/kinput.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c index be1858638..83da67f6c 100644 --- a/hw/kdrive/src/kinput.c +++ b/hw/kdrive/src/kinput.c @@ -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