mirror of
https://github.com/reactos/wine.git
synced 2025-02-19 20:31:35 +00:00
Prevent bad window X error.
This commit is contained in:
parent
967ec70fe5
commit
dfc46d94a6
@ -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) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user