Author: gadamopoulos Date: Thu Apr 18 17:54:39 2013 New Revision: 58780
URL: http://svn.reactos.org/svn/reactos?rev=58780&view=rev Log: [win32k] - When creating a new window, create it in the thread desktop and not in the active desktop
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] Thu Apr 18 17:54:39 2013 @@ -2022,12 +2022,12 @@ }
/* Now find the parent and the owner window */ - hWndParent = IntGetDesktopWindow(); + hWndParent = pti->rpdesk->pDeskInfo->spwnd->head.h; hWndOwner = NULL;
if (Cs->hwndParent == HWND_MESSAGE) { - Cs->hwndParent = hWndParent = IntGetMessageWindow(); + Cs->hwndParent = hWndParent = pti->rpdesk->spwndMessage->head.h; } else if (Cs->hwndParent) {