Commit 87fbc7a3 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winex11.drv: Give XCloseIM another chance.

parent 29a20902
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment