winex11.drv: Give XCloseIM another chance.

This commit is contained in:
Huw Davies 2006-10-24 11:39:28 +01:00 committed by Alexandre Julliard
parent 29a20902ac
commit 87fbc7a3a8

View File

@ -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 );
}