summaryrefslogtreecommitdiff
path: root/hw/xwin/InitInput.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/InitInput.c')
-rw-r--r--hw/xwin/InitInput.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xwin/InitInput.c b/hw/xwin/InitInput.c
index d7e3f9cba..76c1715cf 100644
--- a/hw/xwin/InitInput.c
+++ b/hw/xwin/InitInput.c
@@ -153,8 +153,7 @@ InitInput (int argc, char *argv[])
g_pwinPointer->name = strdup("Windows mouse");
g_pwinKeyboard->name = strdup("Windows keyboard");
- miRegisterPointerDevice (screenInfo.screens[0], pMouse);
- mieqInit ((DevicePtr)pKeyboard, (DevicePtr)pMouse);
+ mieqInit ();
/* Initialize the mode key states */
winInitializeModeKeyStates ();