Hello, Changelog: Dmitry Timoshkov <dmitry@codeweavers.com> Print X display and locale of X Input Method in the debug log. --- cvs/hq/wine/dlls/x11drv/x11drv_main.c Tue Jun 24 03:18:14 2003 +++ wine/dlls/x11drv/x11drv_main.c Tue Aug 12 03:14:26 2003 @@ -449,7 +449,12 @@ } 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