mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:26:17 +00:00
[win32k]
- Mouse messages can be sent before the desktop is initialized. Check for this and return false if its not. FIxes assert when moving mouse before desktop is up. svn path=/trunk/; revision=48636
This commit is contained in:
parent
a5bab7504e
commit
a3370efc0a
1 changed files with 4 additions and 0 deletions
|
@ -350,6 +350,10 @@ co_MsqTranslateMouseMessage(PUSER_MESSAGE_QUEUE MessageQueue, PWINDOW_OBJECT Win
|
|||
PWINDOW_OBJECT CaptureWindow = NULL;
|
||||
HWND hCaptureWin;
|
||||
|
||||
/* FIXME: Mouse message can be sent before the Desktop is up and running in which case ScopeWin (Desktop) is 0.
|
||||
Is this the best fix? */
|
||||
if (ScopeWin == 0) return FALSE;
|
||||
|
||||
ASSERT_REFS_CO(ScopeWin);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue