[openi18n-im:01504] Re: patch to support frontend hotkey configuration

Akira TAGOH <[email protected]> Wed, 10 Aug 2005 10:37:13 +0900 (JST)
Newsgroups gmane.comp.internationalization.input-methods
Organization Red Hat, Inc.
Message-ID <[email protected]>
>>>>> On Tue, 09 Aug 2005 19:14:04 +0800,
>>>>> "FZ" == Federic Zhang <[email protected]> wrote:

FZ> Index: iiimgcf/gtkimcontextiiim.c
FZ> ===================================================================
FZ> --- iiimgcf/gtkimcontextiiim.c	(revision 2787)
FZ> +++ iiimgcf/gtkimcontextiiim.c	(working copy)
FZ> @@ -1874,7 +1874,8 @@
FZ>      return FALSE;
 
FZ>   commit_this_event:
FZ> -  if (IS_DEAD_KEY(event->keyval)) {
FZ> +  //  if (IS_DEAD_KEY(event->keyval)) {
FZ> +  if (0) {
FZ>      /* don't send the dead key with the commit event! */
FZ>      was_dead_key = TRUE;
FZ>      return gtk_im_context_filter_keypress(context_iiim->slave, event);

Why did you disable the above code? it will totally breaks
the dead key working when IM is turned off.

--
Akira TAGOH