mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 08:38:17 +00:00
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:
parent
944616a1ea
commit
366666bddb
1 changed files with 6 additions and 6 deletions
|
@ -839,6 +839,12 @@ InitInputImpl(VOID)
|
||||||
|
|
||||||
KeInitializeEvent(&InputThreadsStart, NotificationEvent, FALSE);
|
KeInitializeEvent(&InputThreadsStart, NotificationEvent, FALSE);
|
||||||
|
|
||||||
|
/* Initialize the default keyboard layout */
|
||||||
|
if(!UserInitDefaultKeyboardLayout())
|
||||||
|
{
|
||||||
|
DPRINT1("Failed to initialize default keyboard layout!\n");
|
||||||
|
}
|
||||||
|
|
||||||
Status = PsCreateSystemThread(&KeyboardThreadHandle,
|
Status = PsCreateSystemThread(&KeyboardThreadHandle,
|
||||||
THREAD_ALL_ACCESS,
|
THREAD_ALL_ACCESS,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -851,12 +857,6 @@ InitInputImpl(VOID)
|
||||||
DPRINT1("Win32K: Failed to create keyboard thread.\n");
|
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,
|
Status = PsCreateSystemThread(&MouseThreadHandle,
|
||||||
THREAD_ALL_ACCESS,
|
THREAD_ALL_ACCESS,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in a new issue