Re: patch to fix the Key confilict with IM_context
From: Lars Clausen <lars raeder dk>
To: discussions about usage and development of dia <dia-list gnome org>
Subject: Re: patch to fix the Key confilict with IM_context
Date: Thu, 01 Jul 2004 22:36:10 +0200
On Thu, 2004-07-01 at 15:15, Roland Stigge wrote:
> On Thu, 2004-07-01 at 14:35, Ming Zhao wrote:
> > This is a patch related to I18N. The CJK users may find that it's not
> > possible to activate the input method(XIM) with CTRL-Space, CTRL-SHIFT, or
> > some other key-bindings when inputting text, so they have to use mouse
> > to activate the input method, and this is very inconvenient.
> > This bug is caused by the code which processes key_presss event in
> > disp_callbacks.c. When it finds that CTRL or MOD1 is pressed, it will
> > not use gtk_im_context_filter_keypress to process the input. So the
> > input method can't be activated by CTRL-Space, which is usually the
> > default keybinding of most CJK input method.
> > I attached a simple to patch to fix this bug, hoping it can be useful.
Well, it applied cleanly, and doesn't interfere with the ctrl-arrow.
I'll leave it up to the CJK-knowledgeable to determine if it does what
> This bug seems to be reported at
> The latter also has a(nother) patch.
That patch no longer applies.