[openi18n-im:01505] Re: patch to support frontend hotkey configuration
Federic Zhang <[email protected]> Wed, 10 Aug 2005 10:39:20 +0800
| Newsgroups | gmane.comp.internationalization.input-methods |
|---|---|
| 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. I wouldn't intend to disable it, compile would fail with this line in my local environment, so i disable it temporarily. when i commit, it would be kept intact. Do you have any other suggestion on this frontend hotkey configuration? -federic > > -- > Akira TAGOH