Author: jimtabor Date: Fri Apr 4 17:52:23 2014 New Revision: 62612
URL: http://svn.reactos.org/svn/reactos?rev=62612&view=rev Log: [Win32k] - Notify FIXME HACK Alert! Are we setting parent to early?
Modified: trunk/reactos/win32ss/user/ntuser/window.c
Modified: trunk/reactos/win32ss/user/ntuser/window.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/window.... ============================================================================== --- trunk/reactos/win32ss/user/ntuser/window.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/ntuser/window.c [iso-8859-1] Fri Apr 4 17:52:23 2014 @@ -1776,6 +1776,7 @@ */ 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 @@ }
/* 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)