Re: XIM key interpretation fix for 2.2.x?

Hi all.

I'm also considering about this problem.
I don't have complete solutions yet, but at least I agree with
Tokunaga-san's opinion mostoly.

At Fri, 5 Sep 2003 04:37:40 +0900,
TOKUNAGA Hiroyuki wrote:
>  I agree with you that IM want keystrokes only when inputting. So active im
> context variable should set to NULL when focused text input widget loses
> the focus, I think.

To determine whether the state is inputing or not, I think input
widgets should have a vertual method like "get_im_context" or

If input widgets has such a method, toplevel doesn't always need to
have im context variable. Instead, we can determine the state by
querying to focused widget through such method.

Here is the sample patch:

But, I'm not sure such a change is appropriate or not.


Takuro Ashie
Mail: ashie homa ne jp

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]