Huw Davies : winex11.drv: Give XCloseIM another chance.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Oct 24 13:39:49 CDT 2006
Module: wine
Branch: master
Commit: 87fbc7a3a86ec180adb9e833e1b39e6346fd7789
URL: http://source.winehq.org/git/wine.git/?a=commit;h=87fbc7a3a86ec180adb9e833e1b39e6346fd7789
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Oct 24 11:39:28 2006 +0100
winex11.drv: Give XCloseIM another chance.
---
dlls/winex11.drv/x11drv_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c
index a33a374..a06f7ea 100644
--- a/dlls/winex11.drv/x11drv_main.c
+++ b/dlls/winex11.drv/x11drv_main.c
@@ -465,8 +465,8 @@ static void thread_detach(void)
X11DRV_ResetSelectionOwner();
CloseHandle( data->display_fd );
wine_tsx11_lock();
+ if (data->xim) XCloseIM( data->xim );
XCloseDisplay( data->display );
- /* if (data->xim) XCloseIM( data->xim ); */ /* crashes Xlib */
wine_tsx11_unlock();
HeapFree( GetProcessHeap(), 0, data );
}
More information about the wine-cvs
mailing list