winex11: Never use a surface for embedded windows, even for the parents.

This commit is contained in:
Alexandre Julliard 2012-10-21 12:18:16 +02:00
parent 673617ee4e
commit 5fae649bdf
1 changed files with 1 additions and 1 deletions

View File

@ -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;