winex11: Never use a surface for embedded windows, even for the parents.
This commit is contained in:
parent
673617ee4e
commit
5fae649bdf
|
@ -2043,7 +2043,7 @@ void CDECL X11DRV_WindowPosChanging( HWND hwnd, HWND insert_after, UINT swp_flag
|
|||
|
||||
/* create the window surface if necessary */
|
||||
|
||||
if (!data->whole_window) goto done;
|
||||
if (!data->whole_window && !data->embedded) goto done;
|
||||
if (swp_flags & SWP_HIDEWINDOW) goto done;
|
||||
if (data->vis.visualid != default_visual.visualid) goto done;
|
||||
|
||||
|
|
Loading…
Reference in New Issue