patch by Cristo Silva criso-c<at>lycos<dot>com:

Initialize keyboard layout before startung the keyboard thread.

svn path=/trunk/; revision=35863
This commit is contained in:
Timo Kreuzer 2008-09-01 20:45:26 +00:00
parent 944616a1ea
commit 366666bddb

View file

@ -839,6 +839,12 @@ InitInputImpl(VOID)
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,
@ -851,12 +857,6 @@ InitInputImpl(VOID)
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,
THREAD_ALL_ACCESS,
NULL,