From: MINAMI H. <mi...@ch...> - 2002-11-28 04:10:46
|
On Wed, 27 Nov 2002 19:46:11 +0200 "Jari P.T. Alhonen" <jar...@he...> wrote: > I'm afraid this didn't make any difference. To elaborate on the status quo: > composing does not work. > 揃 if the locale is something else and XMODIFIERS is set to @im=none, the > dead accents do not appear live but seem to wait as they're supposed to. > However, when pressing the character it's supposed to combine to, the > character appears without accents, i.e. composing still does not work. Hmm, judging from your report, it seems that XmbLookupString() returns 0 and sets "XLookupNone" as when "dead accent" key is sent. That may mean Xutf8LookupString() is called subsequently and win->xic will be sent the same keypress event again and be messed up. # what happens in xterm if you press "dead accent" key twice? Please apply following patch and try the half-workng configuration (LANG=[something else], XMODIFIERS=@im=none) again. --- x_window.c 21 Nov 2002 14:02:57 -0000 1.29 +++ x_window.c 28 Nov 2002 03:54:08 -0000 @@ -2191,12 +2191,12 @@ return len ; } - + /* if( ( len = x_xic_get_utf8_str( win , seq , seq_len , parser , keysym , event)) > 0) { return len ; } - + */ return 0 ; } |