From ff4cde9c007eb0066c821880a96375b2e0738405 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 28 Dec 2003 12:17:15 +0000 Subject: [PATCH] Fixed mimized window repainting bug. Reported by Thomas Weidenmuller. svn path=/trunk/; revision=7288 --- 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 42105ee895b..1328037f3ee 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.76 2003/12/28 10:56:20 gvg Exp $ +/* $Id: winpos.c,v 1.77 2003/12/28 12:17:15 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -467,9 +467,7 @@ WinPosDoWinPosChanging(PWINDOW_OBJECT WindowObject, } *WindowRect = WindowObject->WindowRect; - *ClientRect = - (WindowObject->Style & WS_MINIMIZE) ? WindowObject->WindowRect : - WindowObject->ClientRect; + *ClientRect = WindowObject->ClientRect; if (!(WinPos->flags & SWP_NOSIZE)) {