Alexandre Julliard : winex11: Don' t use a surface if there is a client window.

Alexandre Julliard julliard at winehq.org
Tue Jun 11 14:27:53 CDT 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun 11 18:07:07 2013 +0200

winex11: Don't use a surface if there is a client window.

We can't get clipping right for child windows if using a surface.

---

 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 5d83e8f..429602b 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -2168,6 +2168,7 @@ void CDECL X11DRV_WindowPosChanging( HWND hwnd, HWND insert_after, UINT swp_flag
 
     if (data->embedded) goto done;
     if (data->whole_window == root_window) goto done;
+    if (data->client_window) goto done;
     if (!client_side_graphics && !layered) goto done;
 
     surface_rect = get_surface_rect( visible_rect );




More information about the wine-cvs mailing list