From eca252dba7a9cd80e2fa34dbd186e9f85557e013 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Fri, 4 Jun 2010 11:30:14 +0000 Subject: [PATCH] [win32k] - CreateWindow: initialize window position after sending WM_GETMINMAXINFO message svn path=/trunk/; revision=47566 --- reactos/subsystems/win32/win32k/ntuser/window.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index ee1f7aea849..5379fcbc3ed 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -1700,20 +1700,9 @@ PWINDOW_OBJECT FASTCALL IntCreateWindow(CREATESTRUCTW* Cs, Wnd->hModule = Cs->hInstance; Wnd->style = Cs->style & ~WS_VISIBLE; Wnd->ExStyle = Cs->dwExStyle; - Wnd->rcWindow.left = Cs->x; - Wnd->rcWindow.top = Cs->y; - Wnd->rcWindow.right = Cs->x + Cs->cx; - Wnd->rcWindow.bottom = Cs->y + Cs->cy; Wnd->cbwndExtra = Wnd->pcls->cbwndExtra; Wnd->spwndOwner = OwnerWindow ? OwnerWindow->Wnd : NULL; Wnd->spwndParent = ParentWindow ? ParentWindow->Wnd : NULL; - - if (Wnd->style & WS_CHILD && ParentWindow) - { - RECTL_vOffsetRect(&(Wnd->rcWindow), ParentWindow->Wnd->rcClient.left, - ParentWindow->Wnd->rcClient.top); - } - Wnd->rcClient = Wnd->rcWindow; IntReferenceMessageQueue(Window->pti->MessageQueue); if (Wnd->spwndParent != NULL && Cs->hwndParent != 0)