Author: gadamopoulos
Date: Fri Feb 18 16:28:52 2011
New Revision: 50807
URL: http://svn.reactos.org/svn/reactos?rev=50807&view=rev
Log:
[win32k]
- Fix a bug that caused problems when the user clicks in the caption of a window to activate it
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c [iso-8859-1] Fri Feb 18 16:28:52 2011
@@ -1093,7 +1093,7 @@
/* Activate the window if needed */
- if (msg->hwnd != MessageQueue->ActiveWindow)
+ if (msg->hwnd != UserGetForegroundWindow())
{
PWND pwndTop = pwndMsg;
while (pwndTop)