- Don't crash if the focus message queue is NULL

svn path=/trunk/; revision=59174
This commit is contained in:
Jérôme Gardou 2013-06-05 17:54:26 +00:00
parent 6a14b4a76e
commit 50ab8e88e3

View file

@ -210,7 +210,7 @@ co_IntSendActivateMessages(PWND WindowPrev, PWND Window, BOOL MouseActivate, BOO
/* FIXME: IntIsWindow */
co_IntSendMessageNoWait( UserHMGetHandle(Window),
WM_NCACTIVATE,
(WPARAM)(Window == gpqForeground->spwndActive),
(WPARAM)(gpqForeground ? (Window == gpqForeground->spwndActive) : FALSE),
0); //(LPARAM)hWndPrev);
co_IntSendMessageNoWait( UserHMGetHandle(Window),