[SCIM] Re: [m17n-lib:00085] Re: Re: Proposal: add minput_reset_ic
(MinputContext *ic) method.
Mike FABIAN
mfabian at suse.de
Wed Dec 22 04:02:32 PST 2004
Kenichi Handa <handa at m17n.org> さんは書きました:
> In article <s3t7jnba6z7.fsf at magellan.suse.de>, Mike FABIAN <mfabian at suse.de> writes:
>> I've just tried the latest m17n-lib CVS snapshot together with the
>> attached patch to scim-m17n.
>
>> I tested it with the input method M17N-t-latin-post.
>
>> The preedit string is deleted but not committed if I switch
>> off SCIM or move the focus to some other application.
>
> [...]
>> M17NInstance::focus_out ()
>> {
>> SCIM_DEBUG_IMENGINE(2) << "focus_out.\n";
>> + minput_reset_ic(m_ic);
>> }
>
> Are there a code calling minput_lookup () somewhere else?
Yes, in
bool
M17NInstance::process_key_event (const KeyEvent& key)
{
there is a call to minput_lookup ().
Apparently the process_key_event() method is called shortly before the
focus_out () method.
--
Mike FABIAN <mfabian at suse.de> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
More information about the scim
mailing list