From 9b70e2debda27f4aa95a5d8479ef64ecd117b633 Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Tue, 29 Jul 2003 22:42:26 +0000 Subject: [PATCH] A few bugfixes svn path=/trunk/; revision=5322 --- reactos/subsys/win32k/ntuser/winpos.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/winpos.c b/reactos/subsys/win32k/ntuser/winpos.c index 948def4e996..84a552e577f 100644 --- a/reactos/subsys/win32k/ntuser/winpos.c +++ b/reactos/subsys/win32k/ntuser/winpos.c @@ -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: winpos.c,v 1.16 2003/07/29 05:37:23 rcampbell Exp $ +/* $Id: winpos.c,v 1.17 2003/07/29 22:42:26 rcampbell Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -390,8 +390,6 @@ WinPosDoWinPosChanging(PWINDOW_OBJECT WindowObject, (WindowObject->Style & WS_MINIMIZE) ? WindowObject->WindowRect : WindowObject->ClientRect; - /* Temp fix for WineMine */ - if (!(WinPos->flags & SWP_NOSIZE)) { WindowRect->right = WindowRect->left + WinPos->cx; @@ -471,7 +469,7 @@ WinPosSetWindowPos(HWND Wnd, HWND WndInsertAfter, INT x, INT y, INT cx, { flags |= SWP_NOMOVE; } - if (FALSE /* FIXME: Check if the window if already active. */) + if (Window->Style & WIN_NCACTIVATED) { flags |= SWP_NOACTIVATE; }