mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winex11: Don't use a window surface for embedded windows.
This commit is contained in:
parent
22bcb1a7f4
commit
0682355af2
1 changed files with 1 additions and 0 deletions
|
@ -1992,6 +1992,7 @@ void CDECL X11DRV_WindowPosChanging( HWND hwnd, HWND insert_after, UINT swp_flag
|
|||
|
||||
/* create the window surface if necessary */
|
||||
if (!data->whole_window) return;
|
||||
if (data->embedded) return;
|
||||
if (swp_flags & SWP_HIDEWINDOW) return;
|
||||
if (data->whole_window == root_window) return;
|
||||
if (has_gl_drawable( hwnd )) return;
|
||||
|
|
Loading…
Reference in a new issue