From 6ecc28f3e0325fc06966d3fee6a442fc1fc2f8e1 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 16 Mar 2011 09:43:17 +0000 Subject: Delay calling winInitializeModeKeyStates until the keyboard device has been started --- xorg-server/hw/xwin/InitInput.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xorg-server/hw/xwin') diff --git a/xorg-server/hw/xwin/InitInput.c b/xorg-server/hw/xwin/InitInput.c index 1f0ec477e..e01a8f655 100644 --- a/xorg-server/hw/xwin/InitInput.c +++ b/xorg-server/hw/xwin/InitInput.c @@ -110,8 +110,8 @@ InitInput (int argc, char *argv[]) mieqInit (); - /* Initialize the mode key states */ - winInitializeModeKeyStates (); + /* Do not nitialize the mode key states here yet since the keyboard device is not started yet + winInitializeModeKeyStates (); */ #ifdef HAS_DEVWINDOWS /* Only open the windows message queue device once */ -- cgit v1.2.3