- Fix a bug that caused problems when the user clicks in the caption of a window to activate it

svn path=/trunk/; revision=50807
This commit is contained in:
Giannis Adamopoulos 2011-02-18 16:28:52 +00:00
parent dda9fb952c
commit bc92849c38

View file

@ -1093,7 +1093,7 @@ BOOL co_IntProcessMouseMessage(MSG* msg, BOOL* RemoveMessages, UINT first, UINT
/* Activate the window if needed */
if (msg->hwnd != MessageQueue->ActiveWindow)
if (msg->hwnd != UserGetForegroundWindow())
{
PWND pwndTop = pwndMsg;
while (pwndTop)