mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 18:15:43 +00:00
winex11.drv: Initialize data->xim to NULL if xim has been disabled.
This commit is contained in:
parent
0cf2010f7b
commit
becf09f3f8
|
@ -534,7 +534,9 @@ struct x11drv_thread_data *x11drv_init_thread_data(void)
|
|||
if (TRACE_ON(synchronous)) XSynchronize( data->display, True );
|
||||
wine_tsx11_unlock();
|
||||
|
||||
if (use_xim && !(data->xim = X11DRV_SetupXIM( data->display, input_style )))
|
||||
if (!use_xim)
|
||||
data->xim = NULL;
|
||||
else if (!(data->xim = X11DRV_SetupXIM( data->display, input_style )))
|
||||
WARN("Input Method is not available\n");
|
||||
|
||||
if (wine_server_fd_to_handle( ConnectionNumber(data->display), GENERIC_READ | SYNCHRONIZE,
|
||||
|
|
Loading…
Reference in a new issue