reactos/subsys/win32k/ntuser
diff -u -r1.24 -r1.25
--- focus.c 23 Jun 2004 15:38:07 -0000 1.24
+++ focus.c 24 Nov 2004 00:11:06 -0000 1.25
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: focus.c,v 1.24 2004/06/23 15:38:07 weiden Exp $
+ * $Id: focus.c,v 1.25 2004/11/24 00:11:06 weiden Exp $
*/
#include <w32k.h>
@@ -53,7 +53,7 @@
if (hWndPrev)
{
IntPostOrSendMessage(hWndPrev, WM_NCACTIVATE, FALSE, 0);
- IntPostOrSendMessage(hWndPrev, WM_ACTIVATE,
+ IntPostOrSendMessage(hWnd, WM_ACTIVATE,
MAKEWPARAM(WA_INACTIVE, NtUserGetWindowLong(hWndPrev, GWL_STYLE, FALSE) & WS_MINIMIZE),
(LPARAM)hWnd);
}