Commit 6f84b687 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Print X display and locale of X Input Method in the debug log.

parent 0e27c979
......@@ -449,7 +449,12 @@ struct x11drv_thread_data *x11drv_init_thread_data(void)
}
fcntl( ConnectionNumber(data->display), F_SETFD, 1 ); /* set close on exec flag */
if (!(data->xim = XOpenIM( data->display, NULL, NULL, NULL )))
if ((data->xim = XOpenIM( data->display, NULL, NULL, NULL )))
{
TRACE("X display of IM = %p\n", XDisplayOfIM(data->xim));
TRACE("Using %s locale of Input Method\n", XLocaleOfIM(data->xim));
}
else
WARN("Can't open input method\n");
#ifdef HAVE_XKB
......
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