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

Alexandre Julliard julliard at winehq.org
Mon Oct 22 13:42:44 CDT 2012


Module: wine
Branch: master
Commit: 5fae649bdf14fb63b8d44984eda6edd1094a3314
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5fae649bdf14fb63b8d44984eda6edd1094a3314

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sun Oct 21 12:18:16 2012 +0200

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

---

 dlls/winex11.drv/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 59957a4..7819a54 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -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;
 




More information about the wine-cvs mailing list