Alexandre Julliard : winex11: Wait for the client window to be created on the server side.

Alexandre Julliard julliard at winehq.org
Mon Mar 4 13:23:39 CST 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar  4 13:34:28 2013 +0100

winex11: Wait for the client window to be created on the server side.

---

 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 d19a5fd..05cd75f 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -1394,7 +1394,7 @@ Window create_client_window( struct x11drv_win_data *data, const XVisualInfo *vi
 
     XSaveContext( data->display, data->client_window, winContext, (char *)data->hwnd );
     XMapWindow( data->display, data->client_window );
-    XFlush( data->display );
+    XSync( data->display, False );
     return data->client_window;
 }
 




More information about the wine-cvs mailing list