Alexandre Julliard : winex11: Make sure the clip window is created as soon as possible.

Alexandre Julliard julliard at winehq.org
Tue Feb 14 13:23:31 CST 2012


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Feb 13 20:52:03 2012 +0100

winex11: Make sure the clip window is created as soon as possible.

---

 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 fa5022b..30593a9 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -2016,6 +2016,7 @@ BOOL CDECL X11DRV_CreateWindow( HWND hwnd )
         wine_tsx11_lock();
         data->clip_window = XCreateWindow( data->display, root_window, 0, 0, 1, 1, 0, 0,
                                            InputOnly, visual, CWOverrideRedirect | CWEventMask, &attr );
+        XFlush( data->display );
         wine_tsx11_unlock();
         SetPropA( hwnd, clip_window_prop, (HANDLE)data->clip_window );
     }




More information about the wine-cvs mailing list