aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-16 09:43:17 +0000
committermarha <marha@users.sourceforge.net>2011-03-16 09:43:17 +0000
commit6ecc28f3e0325fc06966d3fee6a442fc1fc2f8e1 (patch)
treedb6b6771a7d1271a0de9b8dca56c42a1a5e4daab /xorg-server/hw/xwin
parent8285341e69cd721c6871b553e45437c767200545 (diff)
downloadvcxsrv-6ecc28f3e0325fc06966d3fee6a442fc1fc2f8e1.tar.gz
vcxsrv-6ecc28f3e0325fc06966d3fee6a442fc1fc2f8e1.tar.bz2
vcxsrv-6ecc28f3e0325fc06966d3fee6a442fc1fc2f8e1.zip
Delay calling winInitializeModeKeyStates until the keyboard device has been started
Diffstat (limited to 'xorg-server/hw/xwin')
-rw-r--r--xorg-server/hw/xwin/InitInput.c4
1 files changed, 2 insertions, 2 deletions
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 */