Skip to content
Snippets Groups Projects
Commit 71b12466 authored by Sergei Ivanov's avatar Sergei Ivanov Committed by Alexandre Julliard
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment