Skip to content
Snippets Groups Projects
Commit dfc46d94 authored by Lars Heete's avatar Lars Heete Committed by Alexandre Julliard
Browse files

Prevent bad window X error.

parent 967ec70f
No related branches found
No related tags found
No related merge requests found
......@@ -558,7 +558,7 @@ void X11DRV_WND_SetWindowPos(WND *wndPtr, const WINDOWPOS *winpos, BOOL bChangeP
WIN_ReleaseWndPtr(insertPtr);
}
}
if (changeMask)
if (changeMask && X11DRV_WND_GetXWindow(winposPtr))
{
TSXReconfigureWMWindow( display, X11DRV_WND_GetXWindow(winposPtr), 0, changeMask, &winChanges );
if( winposPtr->class->style & (CS_VREDRAW | CS_HREDRAW) )
......
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