Module: wine Branch: master Commit: 0682355af23f2f7c6939f491ccd48c8cb1aeb2d8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0682355af23f2f7c6939f491cc...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Sep 13 10:31:52 2012 +0200
winex11: Don't use a window surface for embedded windows.
---
dlls/winex11.drv/window.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 00c86b9..3f94758 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -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;