Commit 71b12466 authored by Serge Ivanov's avatar Serge Ivanov Committed by Alexandre Julliard

Well, SetParent doesn't work properly at all, but at least it must preserve

window ID. In fact it also must preserve window styles, destroy X counterpart if parent of popup or overlapped window is set to someting different from Desktop, and lot of other stuff that it must and mustn't do. But preserving ID is good enough for now.
parent ae897035
......@@ -447,7 +447,6 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
if( pWndParent == pDesktop )
{
wndPtr->dwStyle &= ~WS_CHILD;
wndPtr->wIDmenu = 0;
if( X11DRV_GetXRootWindow() == DefaultRootWindow(display) )
{
CREATESTRUCTA cs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment