summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/xvnc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'unix/xserver/hw/vnc/xvnc.cc')
-rw-r--r--unix/xserver/hw/vnc/xvnc.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc
index 42ad72db..25847a66 100644
--- a/unix/xserver/hw/vnc/xvnc.cc
+++ b/unix/xserver/hw/vnc/xvnc.cc
@@ -1251,11 +1251,5 @@ void ProcessInputEvents()
void InitInput(int argc, char *argv[])
{
- DeviceIntPtr p, k;
- p = AddInputDevice(vfbMouseProc, TRUE);
- k = AddInputDevice(vfbKeybdProc, TRUE);
- RegisterPointerDevice(p);
- RegisterKeyboardDevice(k);
- miRegisterPointerDevice(screenInfo.screens[0], p);
- (void)mieqInit ((DevicePtr)k, (DevicePtr)p);
+ mieqInit ();
}