From: Jihoon Kim Date: Thu, 10 Oct 2013 01:36:07 +0000 (+0900) Subject: initialize cursor position as -1 in focus-out X-Git-Tag: accepted/tizen/generic/20140310.074606~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F58%2F17658%2F1;p=platform%2Fcore%2Fuifw%2Fisf.git initialize cursor position as -1 in focus-out After focus-in event occurs, update cursor position in IMEngine was not called. It's for letting IMEngine know the cursor position when focus-in. Change-Id: Id96356916e844ddf8dbcc62dca24588bbae6e193 --- diff --git a/ism/extras/efl_immodule/isf_imf_context.cpp b/ism/extras/efl_immodule/isf_imf_context.cpp index 367a709..8099629 100644 --- a/ism/extras/efl_immodule/isf_imf_context.cpp +++ b/ism/extras/efl_immodule/isf_imf_context.cpp @@ -1359,6 +1359,7 @@ isf_imf_context_focus_out (Ecore_IMF_Context *ctx) context_scim->impl->si->focus_out (); context_scim->impl->si->reset (); + context_scim->impl->cursor_pos = -1; // if (context_scim->impl->shared_si) context_scim->impl->si->reset ();