SetParent should link the window at the start of the list.

This commit is contained in:
Bernd Herd 1999-01-30 15:50:58 +00:00 committed by Alexandre Julliard
parent 114899a9de
commit ec721121e0

View File

@ -262,7 +262,7 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
* when not in the desktop mode. */
if ( pWndParent != WIN_GetDesktop() ) wndPtr->dwStyle |= WS_CHILD;
WIN_LinkWindow(wndPtr->hwndSelf, HWND_BOTTOM);
WIN_LinkWindow(wndPtr->hwndSelf, HWND_TOP);
if( bFixupDCE )
{