mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[Win32k]
- Fix an exception when set condition * first always is used then moving the mouse. There seems to be an initialization issue (The Init Bug) and not setting a desktop. svn path=/trunk/; revision=49250
This commit is contained in:
@@ -873,8 +873,7 @@ co_HOOK_CallHooks( INT HookId,
|
||||
|
||||
ASSERT(WH_MINHOOK <= HookId && HookId <= WH_MAXHOOK);
|
||||
|
||||
pti = GetW32ThreadInfo(); // Need to call this!
|
||||
|
||||
pti = PsGetCurrentThreadWin32Thread();
|
||||
if (!pti || !pti->pDeskInfo)
|
||||
goto Exit; // Must have a desktop running for hooks.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user