[ros-diffs] [gadamopoulos] 50807: [win32k] - Fix a bug that caused problems when the user clicks in the caption of a window to activate it

gadamopoulos at svn.reactos.org gadamopoulos at svn.reactos.org
Fri Feb 18 16:28:53 UTC 2011


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/ntuser/msgqueue.c?rev=50807&r1=50806&r2=50807&view=diff
==============================================================================
--- 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)




More information about the Ros-diffs mailing list