Author: jimtabor
Date: Tue Nov 11 17:11:39 2008
New Revision: 37298
URL:
http://svn.reactos.org/svn/reactos?rev=37298&view=rev
Log:
- Works with qemu, but, not with real hardware.
Modified:
trunk/reactos/subsystems/win32/win32k/main/dllmain.c
Modified: trunk/reactos/subsystems/win32/win32k/main/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ma…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] Tue Nov 11 17:11:39
2008
@@ -275,7 +275,10 @@
Win32Thread->ppi = PsGetCurrentProcessWin32Process();
pTeb = NtCurrentTeb();
if (pTeb)
+ {
Win32Thread->pClientInfo = (PCLIENTINFO)pTeb->Win32ClientInfo;
+ Win32Thread->pClientInfo->pClientThreadInfo = NULL;
+ }
Win32Thread->MessageQueue = MsqCreateMessageQueue(Thread);
Win32Thread->KeyboardLayout = W32kGetDefaultKeyLayout();
if (Win32Thread->ThreadInfo)
@@ -283,8 +286,6 @@
Win32Thread->ThreadInfo->ClientThreadInfo.dwcPumpHook = 0;
Win32Thread->pClientInfo->pClientThreadInfo =
&Win32Thread->ThreadInfo->ClientThreadInfo;
}
- else
- Win32Thread->pClientInfo->pClientThreadInfo = NULL;
}
else
{