Alexandre Julliard : x11drv: We really need to flush the display when destroying a window.

Alexandre Julliard julliard at wine.codeweavers.com
Wed May 10 05:22:32 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 975f1b2a6188509e0e99ae5ea71364755bd54cee
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=975f1b2a6188509e0e99ae5ea71364755bd54cee

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue May  9 17:32:40 2006 +0200

x11drv: We really need to flush the display when destroying a window.

---

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

diff --git a/dlls/x11drv/window.c b/dlls/x11drv/window.c
index 4e010e6..faaa471 100644
--- a/dlls/x11drv/window.c
+++ b/dlls/x11drv/window.c
@@ -736,6 +736,8 @@ static void destroy_whole_window( Displa
         XUnsetICFocus( data->xic );
         XDestroyIC( data->xic );
     }
+    /* Outlook stops processing messages after destroying a dialog, so we need an explicit flush */
+    XFlush( display );
     wine_tsx11_unlock();
     RemovePropA( data->hwnd, whole_window_prop );
 }




More information about the wine-cvs mailing list