diff options
author | marha <marha@users.sourceforge.net> | 2011-03-16 09:43:17 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-03-16 09:43:17 +0000 |
commit | 6ecc28f3e0325fc06966d3fee6a442fc1fc2f8e1 (patch) | |
tree | db6b6771a7d1271a0de9b8dca56c42a1a5e4daab /xorg-server/dix/main.c | |
parent | 8285341e69cd721c6871b553e45437c767200545 (diff) | |
download | vcxsrv-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/dix/main.c')
-rw-r--r-- | xorg-server/dix/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/dix/main.c b/xorg-server/dix/main.c index 0c9eb7708..0be753742 100644 --- a/xorg-server/dix/main.c +++ b/xorg-server/dix/main.c @@ -330,6 +330,11 @@ int main(int argc, char *argv[], char *envp[]) NotifyParentProcess();
+ #ifdef _MSC_VER
+ // initialise here because doing it in InitInput failes because keyboard device is not started yet then
+ winInitializeModeKeyStates ();
+ #endif
+
Dispatch();
UndisplayDevices();
|