Author: gadamopoulos
Date: Fri Jun 4 13:30:14 2010
New Revision: 47566
URL:
http://svn.reactos.org/svn/reactos?rev=47566&view=rev
Log:
[win32k]
- CreateWindow: initialize window position after sending WM_GETMINMAXINFO message
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Fri Jun 4 13:30:14
2010
@@ -1700,20 +1700,9 @@
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)