Commit 54aea128 authored by Enrico Horn's avatar Enrico Horn
Browse files

x11drv: handle missing thread data in X11DRV_get_ic

parent f2fdba83
......@@ -2029,6 +2029,11 @@ XIC X11DRV_get_ic( HWND hwnd )
XIM xim;
XIC ret = 0;
if (!x11drv_thread_data())
{
release_win_data( data );
return NULL;
}
if (data)
{
x11drv_thread_data()->last_xic_hwnd = hwnd;
......
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