From 785a8b7ebe9b2815545efce3fbebd0c83bc8cad5 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Fri, 4 Apr 2014 17:52:23 +0000 Subject: [PATCH] [Win32k] - Notify FIXME HACK Alert! Are we setting parent to early? svn path=/trunk/; revision=62612 --- reactos/win32ss/user/ntuser/window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/win32ss/user/ntuser/window.c b/reactos/win32ss/user/ntuser/window.c index 9d6e4717697..c9d7c7986cf 100644 --- a/reactos/win32ss/user/ntuser/window.c +++ b/reactos/win32ss/user/ntuser/window.c @@ -1776,6 +1776,7 @@ PWND FASTCALL IntCreateWindow(CREATESTRUCTW* Cs, */ if ( Class->fnid != FNID_DIALOG ) { + ERR("No parent and not a dialog Fix HACK\n"); if (pti->ppi->dwLayout & LAYOUT_RTL) { Cs->dwExStyle |= WS_EX_LAYOUTRTL; @@ -2114,7 +2115,10 @@ co_UserCreateWindowEx(CREATESTRUCTW* Cs, } /* Now find the parent and the owner window */ + /////////////// + // FIXME!!!! Breaks wine win.c test_CreateWindow line 5470! hWndParent = pti->rpdesk->pDeskInfo->spwnd->head.h; + /////////////// hWndOwner = NULL; if (Cs->hwndParent == HWND_MESSAGE)