Author: tkreuzer
Date: Mon Sep 1 22:45:26 2008
New Revision: 35863
URL:
http://svn.reactos.org/svn/reactos?rev=35863&view=rev
Log:
patch by Cristo Silva criso-c<at>lycos<dot>com:
Initialize keyboard layout before startung the keyboard thread.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/input.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/input.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/input.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/input.c [iso-8859-1] Mon Sep 1 22:45:26
2008
@@ -839,6 +839,12 @@
KeInitializeEvent(&InputThreadsStart, NotificationEvent, FALSE);
+ /* Initialize the default keyboard layout */
+ if(!UserInitDefaultKeyboardLayout())
+ {
+ DPRINT1("Failed to initialize default keyboard layout!\n");
+ }
+
Status = PsCreateSystemThread(&KeyboardThreadHandle,
THREAD_ALL_ACCESS,
NULL,
@@ -849,12 +855,6 @@
if (!NT_SUCCESS(Status))
{
DPRINT1("Win32K: Failed to create keyboard thread.\n");
- }
-
- /* Initialize the default keyboard layout */
- if(!UserInitDefaultKeyboardLayout())
- {
- DPRINT1("Failed to initialize default keyboard layout!\n");
}
Status = PsCreateSystemThread(&MouseThreadHandle,