wrong keyboard layout
dmitry at baikal.ru
Mon Aug 11 22:21:45 CDT 2003
"Shachar Shemesh" <wine-devel at shemesh.biz> wrote:
> >BTW, what wrong happens if your keyboard was misdetected? In the current
> >CVS all national characters should work fine regardless what keyboard
> >layout was detected. Is that only a warning message which makes you worry?
> Does this also apply to UTF-8? I, for one, still can't get any
> characters recognized when the locale is UTF-8.
Shachar, Raul, could you apply the attached patch and produce a log
for me? Run Wine notepad with +x11drv,+key,+keyboard,+event, press
some offending keys, compress the log and send it directly to me
with good description what is expected and what you really get.
-------------- next part --------------
--- 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));
WARN("Can't open input method\n");
More information about the wine-devel