winex11.drv: Give XCloseIM another chance.
This commit is contained in:
parent
29a20902ac
commit
87fbc7a3a8
|
@ -465,8 +465,8 @@ static void thread_detach(void)
|
||||||
X11DRV_ResetSelectionOwner();
|
X11DRV_ResetSelectionOwner();
|
||||||
CloseHandle( data->display_fd );
|
CloseHandle( data->display_fd );
|
||||||
wine_tsx11_lock();
|
wine_tsx11_lock();
|
||||||
|
if (data->xim) XCloseIM( data->xim );
|
||||||
XCloseDisplay( data->display );
|
XCloseDisplay( data->display );
|
||||||
/* if (data->xim) XCloseIM( data->xim ); */ /* crashes Xlib */
|
|
||||||
wine_tsx11_unlock();
|
wine_tsx11_unlock();
|
||||||
HeapFree( GetProcessHeap(), 0, data );
|
HeapFree( GetProcessHeap(), 0, data );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue